-
- how to place a command for windows to execute during boot
by project2n5e0o1
- 3 Replies
- Last post
by project2n5e0o1
- Hello All,
I am tring to figure out how to place a hook of somesort to execute a command upon reboot programatically. I have a dos command "del index.dat \s" that I want to run during boot. The reason I cannot run this during the running of windows is becasue some index.dat files are in use. What is the proper method of doing this
Thanks!
-
- Custom Web Browser
by Vulfoliac
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I need to be able to make my browser unique so a web page can check against it.
-
- Drawstring
by Asday
- 11 Replies
- Last post
by Asday
- Why do buttons (and maybe other stuff) show over this, and how do I stop it
Code Snippet
Dim mid As Integer mid = My.Computer.Screen.Bounds.Width / 2 Dim str As String str = text Dim len As Integer len = str.Length() * 9.5 Dim startpoint As Integer startpoint = (str.Length() / 2) * 12
Dim drawpoint As Integer drawpoint = mid - startpoi
-
- Access service on remote computer
by FaheemKhan
- 0 Replies
- Last post
by FaheemKhan
- i m trying to access service/ process on remote computer . But i m encountering with error " access is denied " or " u don't have privliges to acess .
i have done the procedure stated in help of msdn but still not resolving the issue
Thanks in advance for help
-
- boolean vs. bit
by Fender_73
- 10 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- Trying to use as little memory as possible for a List(of boolean) and I can't seem to find answers to two things:
1. Does a boolean have the same size in memory as a bit The Data Type Summary in VB.NET help only says "Depends on implementing platform".
2. If a boolean is indeed larger in memory than a bit, is there some structure/interface/whatever that would enable me to h
-
- monthcalendar problem
by in2minds
- 3 Replies
- Last post
by Feng Chen - MSFT
- hello,
I dont know where i am going wrong,
i have for example different training classes on diff dates
so when a user selects a training course my program reads the dates from the access DB and updates the monthCalendar.
The problem arises when i change the training course, what my application does is updates the calendar with new dates and the old dates for other training stil
-
- Edit properties of controls on other forms
by Mr_White
- 14 Replies
- Last post
by Dave299
- I understand how to change the value of a textbox by making a new form in the code
Dim Form2 as New form
...
Form2.show()
This however does not work for me, i need to edit existing form controls that i make in the designer.
So instead of making a new form in the code, i wnat to just edit one i already made. Right now i can only get the code to run when I
dim Form1 as new Form
-
- Polymorphism? How can you avoid "switch" statements?
by John Oliver (UK&am
- 14 Replies
- Last post
by decyclone
- Hi ALL,
I've create a CLASS where it uses the TYPEOF statement to determine what the object passed to it is, e.g.
If TypeOf(myObject) Is PictureBox Then
'some code.
ElseIf TypeOf(myObject) Is Panel Then
'same code as above only "operating on a Panel"
'with the CreateGraphics.DrawLine method
EndIf
Can i get this to work o
-
- How to get "References" to show up in the Solution Explorer again...
by WATYF
- 2 Replies
- Last post
by WATYF
- In VS 2003, under each project, there used to be a tree node for "References", so you could change/view them on the fly. Now, in 2005, that tree node is gone. The only way I've found that you can get to project references is by opening MyProject and going to the References tab. Is there any way to get the tree node back in the Solution Explorer so I can see my references without opening
-
- Array assignments in Jeopardy
by Xan_Fantasy
- 7 Replies
- Last post
by Xan_Fantasy
- OK so earlier I asked about array declarations in the module which now works. Here is the code I used for it Module Round1ModulePublic Public arrRound1(3, 6, 1) Private Sub Round1() arrRound1(0, 0, 0) = "Question" arrRound1(0, 0, 1) = "Answer" End Sub End Module Then on the Round Board I used a grid of buttons for the different point and subject categories
-
- Delete row from datagridview view
by shax
- 5 Replies
- Last post
by nelsonl
- HI, Here's my problem... you can't delete a row when the datagridview is in edit mode. Now to make the datagridview useable for the user (e.g selecting from a combo column) you have to set the edit mode to be Edit On Enter otherwise the user has to click the cell to select it and then click it again to edit it. SO now when the user goes to select a row to delete it, it automatically goes into edit
-
- Client certificate from within a services
by mrfatmen
- 6 Replies
- Last post
by Emmanuel Rinn
- Hi there,
I have build a windows service wich will communicate to a web service. This web service requre a certificate for authorisation.
When i run the services under "local system" it doesn't send the certificate to the web services. If i run the services under a user account it's perfectly, but this is not an option for us.
How do make the services send the certificate to the
-
- Saving Via Dataset
by Mirza Ashraf
- 9 Replies
- Last post
by Mirza Ashraf
- I need help saving/updating/deleting multiple records in the database via dataset. How i want to do that details are below: please help ASAP.
I have a datagrid view and i have five new records in it or i have edited five records or deleted five records and i passed those five records to the dataset in a n-tier application, now i want to save the records into the database using stored proce
-
- help with font color
by ArNy
- 1 Replies
- Last post
by spotty
- Ok hello, I want to know how to make a specifiec text when typed in a rich text box to turn example(red). and say i type(answer) and answer turned blue.
-thanks
ArNy
-
- Internationalization. Try setting the Culture .
by Mark The Archer Evans
- 7 Replies
- Last post
by Mark The Archer Evans
- Big word, hopefully small problem...
I am in the process of internationalizing my application. I have created a string resource file so that I can create all the required language translations but how do I go about changing the shortcut keys on menus etc to correspond to each language Is there an easy way to do this
Cheers
Mark
-
- loading an image from the resource of a project
by Anonymous578354
- 8 Replies
- Last post
by cybertaz69
- hi,
I need to load an image stored in the resource folder of my project. the problem is that I store 1,500 images in my resources, and their names are functioned as a series: c1,c2,c3,c4....
I created the function which stores the name of the image, but I do not know how to access the image and load it into my picturebox, using the string variable.
thanks in advance for your help....
-
- Compile a Windows Application in the target computer
by Millen
- 4 Replies
- Last post
by Millen
- I am working with VS 2005, and I have the need to compile a Windows application in the target computer. I have tried compiling it with a script using vbc. However, there is a separate .vb generated, Form2.Designer.vb other than the Form2.vb. How can I compile in a script this program along with all the other programs of the same Windows application (Form1.vb, Form3.vb, etc.) Thanks in advance.
-
- Handling Child Events (ComboBox) in DataGridView
by sneadcj
- 3 Replies
- Last post
by Suprotim Agarwal
- Hi,
Long time reader first time poster.
I am looking for a way to handle an event from a child object within a datagridview. What I have is 3 comboboxes and what needs to happen is this:
User selects a value from combobox 1 and the items in combobox 2 are filtered based on that selection.
User selects a value from combobox 2 and the items in combobox 3 are filtered based on se
-
- ProgressBar in VB.net
by QWERTYtech
- 14 Replies
- Last post
by nogChoco
- Okay, I have a progress bar that I want to use to track the reading of a text file and the creation of a CrystalReport. The file size will vary from .txt to .txt. How would I set this up I have read many things online about the progress bar but everyone is setting their ProgressBar.Maxiumum to a static number, I need mine to be dynamic based on the file size.
After the file has been completely
-
- panel control border
by SCRunner
- 2 Replies
- Last post
by Bruno Yu - MSFT
- Is it possible to set the color of the border of a panel control
-
- how can i change c# string into vb string
by nutsukae
- 4 Replies
- Last post
by nutsukae
- i want to change my c# string into vb string but i really dont know how to do my c# string is
Code Snippet
string d = '"' + "http://xxx/" + '"' + " -O " + '"' + "/tmp/xxx" + '"' + " " + '"' + "+*.xxx/*" + '"'; how can i change it
-
- Error when opening an acess file using dataadapter to fill a dataset
by Aiad Al-jumaily
- 6 Replies
- Last post
by Aiad Al-jumaily
- Dear All,
I'm facing a real issue with an application Im developing ,let me explain what Im facing :
1-I use Visual Studio 2005 \ Visual Basic \ Windows Home SP2
2-It is multiuser application where users access and update Access 2000 under Office 2003
3-Im receiving a very odd error ,it happens when the dataadapter tries to fill the dataset ,it gives the following error
****
-
- excel fuction conversion
by gpetrosh
- 3 Replies
- Last post
by Spidermans_DarkSide - VSIP
- Hello to all, I am trying to convert several excel functions to use in a VB application. To explain further, someone in my office had created a spreadsheet to convert addresses in a factory automation network from one type to another. My problem is--I don't understand the functions used to try an convert the spreadsheet to a VB application. Below are the functions that I am trying to use. If someo
-
- Add Selected listbox item to another listbox
by Telster
- 1 Replies
- Last post
by spotty
- Hey,
Im using VB.NET 2003 and im having trouble with selecting one item from listbox 1 and adding it to listbox 2. Listbox 1 is data bound to a dataset.
I have tried this code:
Listbox2.Items.Add(Listbox1.SelectedItem)
However when the item has been selected from listbox1, in listbox2 displays an error message saying System.Data.DataRowView
Can anyone help
Thanks,
Terry
-
- using vb6 programs in vista
by BpBonnett
- 2 Replies
- Last post
by spotty
- Hello,
I am not trying to do any developing on vista, all I want to do is run a simple program that I created on vb6 that works on xp. When I try and run the program it says that it can't find the file;
"msstdfmt.dll"
I found the file on the msdn but where do I put it and how do I get vista to recognise it.
Thanks