-
- Run applications and open files with Visual Basic
by frxstrem
- 14 Replies
- Last post
by LoD94
- How do I run files/application with standard editor/viewer
-
- Record Not Found
by tattoo
- 2 Replies
- Last post
by tattoo
- I have a ComboBox that is Bound to my Datasource.
If I type in an Invoice number the details are then displayed on the other fields of my form.
What I would like to know is, If I type in a number for which there are no details, how can I capture this. Apart from no information showing up.
If there are no details in the table, I want to be able to go to another part of the
-
- idle time/inactivity
by Tim Richardson
- 3 Replies
- Last post
by Tim Richardson
- I am looking to have my application close itself, if it has been inactive for 10 minutes. Any suggestions Thanks!
Tim
-
- Help!!! Sharing a VB.NET Windows Application
by Arunkumar.B
- 3 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hai all,
I am developing VB.NET 2005 windows application. I want that the application should be accessible across the local network (Not a Domain). I installed the application on one system and share the application folder with necessary permissions. If i run the application from the other system it shows an exceptions.
See the end of this message for details on invoking just-in-time
-
- Having a problem deleting a row in a DataGridView
by Rich G
- 5 Replies
- Last post
by Rich G
- I have a DataGridView that I am using as a universial grid for several tables. In it's implementation in the form load event I use the following code:
If Not myTableName = "" Then
Me .Text = Me .myTableName & " Editor"
Dim strSQL As String = "SELECT * FROM " & myTableName & ";"
myDataAdapter = GetDataAdapt
-
- SendKeys() not working
by ChrisBettencourt
- 9 Replies
- Last post
by ChrisBettencourt
- Can anyone tell me why the SendKeys() function would not be working for me I have a sneaking suspicion that one possibility could be that the process has not fully opened before my.computer.keyboard is performing sendkeys().
I'm getting fairly desperate here, partly because I don't know what I'm doing. I'd appreciate any help!
-
- Mixing languages
by Werner Kraemer
- 2 Replies
- Last post
by ScubaSteve20001
- Recently I have received some C-code from my friends at U of Zuerich that I would like to leave alone since it would be lots of work to translate to VB 2005.
Is there a way to include these analytical C subroutines in my VB project or would I have to build a separate ¡®dll¡¯ project
Obviously I am not a programmer, just coding in VB 2005 to develop graphical depictions of p
-
- Function in VB
by gmannu
- 2 Replies
- Last post
by Jared Parsons MSFT
- can a function return more than one value in VB also. like form load() x=sample() end sub public function sample()as integer dim i as integer dim str as string i=1 str="VB" return i
'how to return i and str both end function
-
- How to get function moveto in bindingsource
by yhong
- 3 Replies
- Last post
by rkimble
- I am using bindingsource to operate my datatable. Actually, in bindingsource, there exist function movefirst, movelast... but no move to function exists, how can I do that
-
- Variable declaration and inizialization
by Uince
- 2 Replies
- Last post
by kleinma
- Hi all!! I'm a VB.net newbie!!
Please can someone tell me why this code doesn't work
I get this error :"Object reference not set to an instance of an object."
on this line:
CallList(i) = DivaComuni.CreateCall()
Please give me an explanation!
Please note that I want Comuni and CallList as global variables in the class, and than I want to initialize every element of
-
- Passing info across threads
by Hooper
- 14 Replies
- Last post
by Hooper
- Hi,
I have posted similar questions on and off for the past couple of months in regards to the threads in my app.
I have a user interface, MainForm. I am reading data via the serial port and need to display some things to the MainForm, to a textbox, a statusstrip, and updating a progress bar, the serial info runs for a few minutes. When I do write to some controls on the MainForm nothing hap
-
- Converting String to ListviewSubitem
by shankarnaren
- 3 Replies
- Last post
by nobugz
- Hi Friends,
In my project [using VB.NET] iam using an Statement....
L istView1.Items(ListView1.Items.Count - 1).SubItems.Insert ( 2 , ListviewItem.ListviewSubitem )
Above mentioned in Bold Green letters, 2 represents index as integer, then listviewSubitem. to be used, my doubt is how to Create / Instantiate / Conver t (from string) ListviewSubitem .
-
- problem with WMICodeCreator and PCMCIA
by greg_cedepe
- 0 Replies
- Last post
by greg_cedepe
- I used the software WMIcodeCreator to generate the code for shutting down/up the PCMCIA power supply. I think this is possible with the method "SetPowerState". But the problem is that the program never success the "try" and always display an error message (catch) that is "An error occurred while trying to execute the WMI method: Types non correspondants". In debugger
-
- How to pause the code in VB6?
by JustStudent
- 6 Replies
- Last post
by Sanguin Developers
- Hello. I need to pause program while femm is runing (about 2 seconds).
Do Until Counter = n
Call femm
Counter = Counter + 1
<How to 'pause' the Loop >
Loop
Please help me!!!
-
- have to click on tabcontrol second time for toolstrip to appear in TabPage
by hazz
- 4 Replies
- Last post
by hazz
- In order for a toolstrip to appear within a tabpage I have to click on any other tab after clicking first on the one containing the toolstrip..; and then when I click on the tab for the second time the toolstrip appears. There does not appear to be any code within the other selectedindexchanged case statements which should affect this. I am baffled as to why the toolstrip doesn't show up the first
-
- Write protection error when saving images on a Forms project
by joe.hamilton
- 1 Replies
- Last post
by John Cunningham - MSFT
- Here's the scenario, I edit a graphic in Photoshop, this graphic is in a picturebox on one of my forms. I try to save it and I get an error that it is already in use by another application. I have to close VS and then save and THEN reopen VS to get the graphic to save. Please help.
-
- How to fill textboxes with "0.0" s
by Cesar Francisco
- 7 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- There are 45 textboxes to fill.
Code Snippet
Private Sub HECalculator_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
TextBox1.Text = "0.0"
TextBox2.Text = "0.0"
TextBox3.Text = "0.0"
TextBox4.Text = "0.0"
TextBox5.Text = "0.0"
TextBox6.Text = "0.0&
-
- Midi IO
by rgturner
- 10 Replies
- Last post
by AUDIO_GEEK
- I am trying to write an application to monitor a midi port to return information when a midi keyboard is played. Is that possible using Visual Basic 2005 If so, how is this done
-
- How to create many labels (same event)?
by Penicillin
- 14 Replies
- Last post
by ahmedilyas
- Hello
I want to create 20 labels (but event is same).
In VB6, I set "index" for everyone, and so the event becomes same.
What should I do in VB2005
I don't want to create from Label1 to Label20, and set the same event for everyone; it's too long code, classic and primitive.
I hope you understood what I said.
Thanks
-
- Enabling user control mouse events
by poiuytrewq
- 9 Replies
- Last post
by nogChoco
- I have created a user control and placed it onto a form and it all generally works OK.
I have put code into the form to react to Mouse up, down and move events for the user control but the form code is never entered when I click on the user control.
I am guessing that I need to put code into the user control to generate these events. If so can anyone suggest what is required
-
- Working with datasets. If IN ?
by John Oliver &#40;UK&am
- 0 Replies
- Last post
by John Oliver &#40;UK&am
- Hi,
I'm wanting to put a random amount of data into an array, or an arrayList or a dataSet.
Then say>
Dim myItem As Object 'It might be a string or a number or whatever. In this case Integer or String probably.
' then say>>
If myItem In(arrayName) Then
' Do some code.
EndIf
I realise i could use a FOR EACH loop but is that the only way
I'm thinking of using
-
- WMP Playlist viewing & playing
by Zooz
- 12 Replies
- Last post
by nogChoco
- Hello,
I have an mp3 player that could play mp3s and playlists(premade from windows media player(it only conatins mp3s)). When i launch a playlist i need to keep pressing (next) button to get to the song i want. So, when i launch a playlist(*.wpl) i want it to be shown in a listbox or a treenode... whatever, but in a way that i could play and view the songs i have already put in it.
-
- SelectedIndexChanged
by xswzaq
- 11 Replies
- Last post
by Angel_LL
- I really really need help. I am working on the project that have 3 list box. I want to perform search so that users easily access data they want. In my listbox1, users will choose his/her choice, then the listbox2 (blank before user enter choice in listbox1) will automaticly pop up a list. For example, if I selected QA in listbox1, only catagories (item in QA) should show in listbox 2 (not all), a
-
- Creating .DLL Modules
by mcmathys04
- 3 Replies
- Last post
by spotty
- I am writing an application and I would like to have each section (client information, point of sales, etc.) of it as a seperate DLL file so I can customize sales to clients. How would I go about importing DLL files into an application
-
- 30 different random numbers
by Anonymousss12345
- 8 Replies
- Last post
by SJWhiteley
- I want to make 30 different random numbers from 1-30.
How do i do it