-
- Help!!! This code is killing my Computer.
by AngelinaPerez
- 14 Replies
- Last post
by ReneeC
- I am writing to kindly to ask you guys for help. I have been working with the lines of code below which merely locking up and disabling the computer: Private Sub Alert_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Alert_btn.Click Dim conn As New SqlClient.SqlConnection(My.Settings.CSTConnectionString) Try If conn.State <> ConnectionState.Open Th
-
- About Uninstall directory in Registry
by Vian Zhou
- 4 Replies
- Last post
by Vian Zhou
- Hi all,
My application can not register uninstall information to registry, it gave an error message as below:
"The specified resource type connot be found in the image file."
When I tried to RegOpenKeyEx(HKEY_LOCAL_MACHINE, REGSTR_PATH_UNINSTALL, .., ..), "SOFTWAR\Microsoft\Windows\CurrentVersion\Uninstall" can not open.
Does anyone have any idea My applicat
-
- SendKeys Help...
by TyeJae
- 2 Replies
- Last post
by TyeJae
- I'm trying to have my program execute a keypress when I push this certain button, but for the life of me I cannot find the keypress code for the spacebar, I've tried {Spacebar}, {SPACE}, {Space}, {SPACEBAR} and { }, none of them worked for me. Could anyone help me out with this Here is my code thus far...
Code Snippet
Private Sub Button1_Click( ByVal sender As System.Obje
-
- Mp3 Coding
by djshades2004
- 5 Replies
- Last post
by js06
- Hi,
Could anyone possibly help me get the total length of a mp3 file in mins eg.(2.30) I need to be able to load the values into a listview component.
If anyone could point me into the right direction it would be a great help.
thanks, stu
-
- Of Pictureboxes, Transparency, Movement and Backgrounds
by lonlon_malon
- 3 Replies
- Last post
by Bruno Yu - MSFT
- Hi there, I am trying to make a picturebox move over another in a program - one, a stationary red arrow, the other a moving green arrow. When the green arrow picture box moves over the red, you can clearly see that the green picturebox is only *pretending* to be transparent; you can see that the green picturebox is filling the empty spaces with the form's colour, and that box moving over the arrow
-
- problem with msdn
by killer_instinct
- 3 Replies
- Last post
by orcmid
- i had downloaded the last msdn from msdn website
my problem is that msdn is compatible with my visual c++ 6.0 dated since 1998
i can't update to the last version because our teacher want us to work with visual c++ 6.0
-
- Visual Studio 2005 Express - how do i add and use active X controls?
by AlexHayes
- 2 Replies
- Last post
by stratoblue
- What I need to do is add an active x control to my project and use the methods from that active x control. I know how to use the object browser, add a COM component (although the one I need is missing from the list) and see it's methods. How do I add it to a form There's no Object Container control in VB2005. The help file says the Web control can be substituted 'in some cases'. I can use that and
-
- Bug?: Unwanted C4819
by Adah
- 12 Replies
- Last post
by Dion Campbell
- For the following program (encoded in Latin1): #include <stdio.h> #ifdef _MSC_VER #define POUND 0xA3 #else #define POUND '¡ê' #endif int main() { printf("%c\n", POUND); return 0; } I get the following message under Chinese Windows: test.c : warning C4819 : The file contains a character that cannot be represented in the current code page (936). Save the file in Unico
-
- Example of tabbed webbrowsing
by AtomZ .be
- 9 Replies
- Last post
by ReneeC
- Hello,
as I have seen a lot new threads about the webbrowser, I thought: "Why don't try it myself " :p So I tried, and I just made myself a working tabbed browser :o I put the source and working example online so you people can have a look how everything works.. Here is the link
Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :) Grtz, Tom.
-
- radio button listbox
by Johnson565581
- 5 Replies
- Last post
by VS_Programmer
- Hi,
does anyone know how to implement a radio button list box for windows application
If possible can provide sample codes
Thanks
Johnson
-
- How to set up Status Label for Browser
by Phoenix_124
- 2 Replies
- Last post
by Phoenix_124
- Hi,
What is the code for the status label so that it shows what the progress bar is doing like in IE. For example in IE where it says "Downloading 1 out of __ images and then leads to "Done". Please, This is my first ever success program and I want to make it good. May you please put it in full code. I will learn on whatever code you give me. Thanks!
-
- Running a program in conjunction with a batch file
by nightwish
- 9 Replies
- Last post
by spotty
- Hi All,
This is a tricky situation...
I wrote an application that filters through a input text file to remove any " and add new headings etc. It contains 2 inout text boxes for the 2 inout text files and 2 output files...
After specifying the location of both an clicking on the filter button it filters and saves the files.
My question if if you can run this program form a dos batch fil
-
- How Can I delete a read only folder
by ahmed taha
- 1 Replies
- Last post
by js06
- In the name of Allah
Hi all ....
I've a small question
''
How Can I delete a read only folder
i used
my.computer.filesystems.deletedirectory(Dir)
but didnt work because the dir is readonly
-
- problems to use WMI classes with VB 2005 express.
by Korne
- 14 Replies
- Last post
by kleinma
- Hello everybody.
I'm working on a project and I need to use WMI classes for some system informations
It works very well for differents classes but I have a problem with one of the class I need: Win32_NetworkConnection
I can't obtain the different informations in this class
( ConnectionType, ConnectionState, Status, ....)
I created a WMI class with only the
-
- Virtual Hardware
by AmazingAnt
- 4 Replies
- Last post
by AmazingAnt
- Anyone know where I might start to find information on virtual hardware in VB.NET 2005
-
- Adding Number in VB
by Decimator
- 14 Replies
- Last post
by ReneeC
- I need VB to add a series of values which are stored in text boxes. The code which i am using is: txtTotalQ.Text = txtQuantity1.Text + txtQuantity2.Text + txtQuantity3.Text + txtQuantity4.Text + txtQuantity5.Text + txtQuantity6.Text However it doesn't actually add the numbers up, it just combines them together For example instead of 10+10 = 20 I get 10+10 = 1010 I know their is a basic solution to
-
- show desktop
by clint 2
- 14 Replies
- Last post
by vbvb66
- hello there
is there a way that I can show the desktop in my form
-
- so gentle
by GAtkins
- 14 Replies
- Last post
by ReneeC
- I would appreciate any help someone could give me.
I have searched this forum endlessly trying to find a way to save 60 or so text boxes on form1 to a file and then later read the information back into the same text boxes.
It seems like I have tried every bit of sample code that I can find and nothing works. I have 5 books on VBE and VB5.
I am a complete novice at this so please be gentle
-
- Quotes in a string
by pspballer07
- 3 Replies
- Last post
by Figo Fei - MSFT
- How do you put quotes inside a string I know it has something to do with the @ symbol
-
- Add DBNull to date field in database?
by RandyB30
- 3 Replies
- Last post
by js06
- I have a date field in my database (StartDate). I have created a datatable which will access this field. The DataType in the DataTable is defined as System.DateTime. Allow DBNull is set to True and th DefaultValue is <DBNull>. I have an SQL statement to add (INSERT) a new record. I have created a parameter to be used with the SQL statement. In the parameter options I have set AllowDBNull to
-
- Reading/Writing .dat file
by javasource
- 6 Replies
- Last post
by javasource
- Hi all,
I have an application that writes product data (text) to a .dat file. It writes a line and seperates each field with a "~". Here are the fields:
ProdID as string (this writes the name of an .htm file)
Price as Integer
xPos, yPos as integer
LastGrab as Boolean (was this the last item taken)
ex. 1 - ProdID~Price~xPos~yPos~LastGrab
ex. 2 - P_000.htm~100~125~250~
-
- Validate text box using code
by airsam
- 5 Replies
- Last post
by LouieG
- How can I ensure that a user can only enter the following into a normal text box: Number between 0 and 100 (excluding 0 and 100) No letters Only numbers Thanks
-
- Formulas like excel
by js06
- 10 Replies
- Last post
by js06
- Can anyone tell me how a program like excel handles formulas.
From what i can see it looks like it stores the formulas somewhere away from the database. How does this work
Or am i even close
Can someone tell me how to create something similar
-
- csv to binary?
by Wibs2
- 5 Replies
- Last post
by Wibs2
- Hi, I am trying to convert a comma separated values text file to binary. What I have is a text file containing 256 numbers like so: 6,6,6,7,7,8,8,9,9,10,10, etc What I need is a binary file containing 256 bytes, so when I open it in a hex viewer it reads: 06 06 06 07 07 08 08 09 09 0A 0A etc I have tried staring at this problem, but it doesn't help at all. I just can't think whether I am trying to
-
- Another Problem
by Mr_White
- 14 Replies
- Last post
by Mr_White
- Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these.
I tried something like this.
If C(num).checked=true then