20,278 Topics

Member Avatar for
Member Avatar for erum

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 & …

Member Avatar for kvprajapati
0
89
Member Avatar for srm2010

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 …

Member Avatar for Unhnd_Exception
0
112
Member Avatar for dougancil

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 …

Member Avatar for jlego
0
172
Member Avatar for jcfans

[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...

Member Avatar for jlego
0
91
Member Avatar for Syakoban

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 …

Member Avatar for jlego
0
153
Member Avatar for rushabh930

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 …

Member Avatar for jlego
0
87
Member Avatar for Maha Sh.

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 …

Member Avatar for lolafuertes
0
117
Member Avatar for jgrade

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 …

Member Avatar for jgrade
0
125
Member Avatar for gillivt

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 …

Member Avatar for gillivt
0
262
Member Avatar for Dhilip.S

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 …

0
98
Member Avatar for Dhilip.S

[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]

0
55
Member Avatar for adams161

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' …

Member Avatar for kvprajapati
0
122
Member Avatar for vbprogrammer1

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

Member Avatar for kvprajapati
0
59
Member Avatar for vbprogrammer1

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

Member Avatar for vbprogrammer1
0
137
Member Avatar for CallumP93

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. …

Member Avatar for CallumP93
0
211
Member Avatar for piratesocrates

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 …

Member Avatar for piratesocrates
0
10K
Member Avatar for Trebron

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 …

Member Avatar for Luc001
0
81
Member Avatar for raaif

[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

0
52
Member Avatar for unika010690

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", …

Member Avatar for codeorder
0
6K
Member Avatar for jimJohnson

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 …

0
58
Member Avatar for dimmslider

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" …

0
44
Member Avatar for navachaitanya

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....

0
147
Member Avatar for Xcelled194

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, …

Member Avatar for Unhnd_Exception
0
5K
Member Avatar for navachaitanya

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....

0
136
Member Avatar for mkumar12345

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 …

0
176
Member Avatar for Anonymous22562
Member Avatar for jimJohnson

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 …

Member Avatar for jimJohnson
0
163
Member Avatar for SeekingYourHalp

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 …

Member Avatar for Greezly
0
111
Member Avatar for allen2663

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 …

Member Avatar for allen2663
0
447
Member Avatar for adrianSigamoney

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.

Member Avatar for Unhnd_Exception
0
93

The End.