20,278 Topics
| |
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.... | |
Hi experts, I am trying to find the current level of zoom in a webbrowser control. I know how to zoom but the same doesn't work for retrieving the current level of zoom. I am trying the following: [CODE] Dim currentZoom As Integer DirectCast(Me.ActiveXInstance, SHDocVw.WebBrowser).ExecWB(Exec.OLECMDID_OPTICAL_ZOOM, ExecOpt.OLECMDEXECOPT_PROMPTUSER, IntPtr.Zero, currentZoom) [/CODE] But … | |
HV sm problm need help ion order to find the solution. | |
I am new to VB and usually work in C but was wanting to see if someone can take a look at this program and give me any advice I would really appreciate it and also let me know if I am close... I am going to first give instructions … | |
I think you all know of the Vista UAC dialog prompt that pops up on a new desktop to make you confirm things so my question relates to that. At The Code Project, a clever little cookie wrote what i'm after and it's called VDialog and its description reads "Vista-like … | |
I have made a program that loads all the songs on my computer into a listview and plays them at random (at least that is what I want) right now I have them moveing to another list and removeing them from the current list so that none are played twice … | |
My customer requires text files to be written in the following format: "adrian","sigamoney","01","1","B" No matter what I do I get in file adrian,sigamoney,01,1,B I have tried split, replace, adding extra hyphens to string. Please help urgently. |
The End.