20,284 Topics
| |
I am trying to make a report which gets its data from a windows form's textboxes. My code works fine but upon display of the report, a window always appear asking to enter parameter values. How can I bypass or remove this window? Here is my code: [code] Dim report … | |
I'm using DataSet ReadXML() method to load XML files of records different tables, and all are working fine. But, I would like to have the exceptional handling that in case there're records in XML files got problem, e.g. invalid data format or exceed column width and etc, it will skip … | |
Hi, thanks for helping. All this code does is remove the checked items. I want to remove it from one listview box and transfer it to another. Is that possible? [CODE]Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click With ListView1 If .CheckedItems.Count > 0 Then For … | |
someone told me that i should stick with method #2, interested in getting feedback here. form2 has an id that form1 passes in order to load information from. method #1 has a public integer that form 1 passes to form 2 [CODE] class form1 private sub button1_click form2.id = 1 … | |
I'm using VB.net 2008... Within the program, there is a button that opens a file inside of a second form ([ICODE]DocViewFrm[/ICODE]) and it works fine the first time around. Within this new window, there is a button that uses [ICODE]Me.Close()[/ICODE] to close the window and return to the main window. … | |
I need to create pages of address labels using VB Express, so no Crystal Reports. The end user does not have Office, so no mail merge either. I am using an Access table for data source. I need to be able to save it as a pdf so the documents … | |
ca any one correct my insert query in database [code] Dim hotel_book As String = "insert into hotelbooking (Userid, hotel_requirement_Types, singleroom, single_no_room,doubleroom,double_no_room) " & _"VALUES (" & userid & ", '" & ckchecked.Text & "' , & singlecheck & , & no_single_room & , & doublecheck & , &no_double_room & … | |
I tried to do async webservice(Helloworld) call using windows application 3.5 using delegate AsyncCallback but the problem was I could not get any BeginInvoke(BeginHelloworld) or EndInvoke(EndHelloworld) methods in intellisense.I did use proper namespace and required interface ,IAsyncResult but It gives me complie time error.what exactly I require to do, to … | |
I have 2 public variables that I declared in form1 of an application. I am trying to call that variable in form2 and then pass that variable in a sql query. If I declare Public Class Form1 Public payPeriodStartDate, payPeriodEndDate As Date How then to I declare that variable in … | |
[B]Example 1[/B] [code] try { } catch(Exception ex) { throw; } [/code] [B]Example 2[/B] [code] try { } catch(SQLException sqlex) { } catch { throw; } [/code] [B]Example 3[/B] [code] try { } catch(Exception ex) { throw ex; } [/code] Can anyone tell me the difference between these 3 example?Thanks... | |
Hi, I'm trying to do a little project with an embedded board and XP embedded OS to control a little machine. The board will have no monitor, so I need a little routine that when a key is pressed on the keyboard, it invokes a proper Windows shutdown. I want … | |
Hey Give me the solution of this below code i am unable to do that three attempt login step.... i am using MS-ACCESS for connectivity please do help soon thanks in ADV.... [code] Dim cnt As Integer Dim i As Integer Private Sub OK_Click(ByVal sender As System.Object, ByVal e As … | |
Hi every one I designed game in which the player should guess words starts with a certain letter and these words are compared to a table of words in the database. the words that the user enter are stored in array. I want to add a help button that show … | |
I have written a program to track the membership of a local gym that works perfectly on every computer EXCEPT the computer at the gym. I am pulling out my hair trying to figure out what the difference is any why ONLY that machine throws an error. Background: The program … | |
I have a form (testform.html)as follows: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>test</title> </head> <body> <form id="form1" method="post" action="datareturn.aspx" > <input type="text" id="FoxyData" name="FoxyData" /> <input id="Submit" type="submit" value="submit" name="submit" /> </form> </body> </html> [/CODE] When I enter data into the form field and … | |
pls tell me some logic of how to create a macro for an intellisense that shud display the whole sentence as we type.. we can select the needed sentence by clicking on it. so far MsWord only has the option of updating the word with intellisense. but i want it … | |
[B]pls tell me the way to create a intellisense that should display a updated sentence as we type in Msword Dhilip[B][/B] [/B] | |
hi, I have the line of code: [code=vb.net] xlWorkBook = xlApp.Workbooks.Open("c:\mydocs\full_info.xlsm") [/code] my problem is i want to load the file without a full path, "full_info.xlsm", but i can't seem to find the right place to put it. i have the program name directory which contains folder 'bin' 'myproject' 'obj' … | |
I would like to know how to add data to datagrid in vb .net without database similar to MSFlexigrid in VB6 and access the same in the software. Thanks VRP | |
Hi, Can anyone tell me how to remove spaces in a line which contains more spaces in vb.net. Eg 12 25.53 35 It should be read as 12 25.53 35 Thanks VRP | |
Hi All, I am currently making a server monitoring application that pings the server to check its uplink, so far it creates all the picture boxes and labels for each server, and then pings the server, although I have a picture that I want to change dependant on the result. … | |
Hello, I'm still pretty new at this so all suggestions are much appreciated. When I set the button background image in properties, it looks great. When the button is clicked, the image needs to change. I tried to use an image list like this: [CODE]btnSample.BackgroundImage = ImlStimuli.Images.Item(0)[/CODE] and I tried … | |
ok I have some code below as an example but I can`t seem to sort this one out, I want to pass the fullpath to the directory so that when I click the node it adds the subfolder to that node at runtime Here is my sub below I know … | |
[ATTACH]18346[/ATTACH] In the Above attached pic i want to prevent the user from drawing controls in the background pannel (the one fading from dark navyblue to lighter blue) and if posibble i wanto it to act as the form border. please help me is this and thanx in advance | |
i have a project my next task is to display the item selected from my listview to the textbox in the other form heres my code on the listview Public Class listemployee Private Sub listemployee_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Create the column headers. ListView2.Columns.Add("EmployeeID", … | |
I am starting ahead of schedule for my next VB program and just have a quick question to start as Ive never done multiple forms. I am providing the instructions that I have been given but I just want to make sure to start this the instructions are asking me … | |
Hi all, I'm working on a script which uses POST to configure various bits on my printer. Everything works fine, except the fact that when I set the printer to use HTTPS the webBrowser control I have on the form shows the "There is a problem with the security certificate" … | |
hi every one i need help i want make a form in vb.net and using web cam to save picture in ms access or in a folder please please can any tell the complete code thanks in advance please please help me.... | |
My curse seems to be SendInput... I have tried many sites and code variations and it never works right... it always returns an error. So can someone just whip together a quick class that has 3 public methods, one for keyboard (that takes a Keys data type) one for mouse, … | |
hi every one i need help i want make a form in vb.net and using web cam to save picture in ms access or in a folder please please can any tell the complete code thanks in advance please please help me.... |
The End.