-
- Simple .net application not working for Integer.Parse
by raj_net
- 6 Replies
- Last post
by raj_net
- Hello .NET Gurus,
I am having very strange problem on my PC and also lot of other PC's . I am running simple .net application which was trying to convert "0" to integer 0. It was not working on my primary PC account but the same program is working when I login with different user on same PC. Both user has admin rights. Please let me know where could be issue is
We need Integer.Par
-
- OnGotFocus not firing
by John Vencl
- 11 Replies
- Last post
by John Vencl
- I have an application in which i show non modals forms so the user can access fields on the main form. I am trying to catch the OnGotFocus and the OnLostFocus event of the main form through the Overidable methods to hide the non modal forms when a separate application is clicked, but the events are never fired. i noticed there is no handle tag on the end of the method. Is there something extra tha
-
- Help with .net terrarium 1.2
by sdekooter
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I would like to add some creatures to my .net terrarium. I just upgraded from VS 2003 to VS 2005 and although I did not had the time to check it out in 2003 I noticed 2003 had a special form for the .net terrarium. In 2005 I do not see such a form.
I visited the "farm" and found code for a simple plant. The problem is that this simple script gives me 10 errors and I have no idea how t
-
- Putting a file path into a textbox
by Kiwi Ranger
- 1 Replies
- Last post
by kleinma
- Hi
Um what I need to know is how to select a file and have the file path put into a text box. i.e. if I was to use an OpenFileDialog to select the file, how would I go about putting the file path (ie. F:\test\test.txt, not just F:\test\) of the file into a text box Second would an OpenFileDialog be the best way to put the file path into a textbox Or would there be a better way to do so
-
- SQL Query
by CollegeSeniorProjectNeedsHelp
- 14 Replies
- Last post
by Graham
- I am trying to add a query to my TableAdapter Fill. I am wanting to filter the results based on 3 items that are stored in passed variables. From the documentation that I have, the SQL Select statement should be...
SELECT item1, item2
FROM table
WHERE ( filter1=@first and filter2=@second and filter3=@third )
however, whenever I try to do this (or even try to do just a single pass
-
- Menustrip
by fishy_swa
- 11 Replies
- Last post
by Tall Dude
- Hi, I was hoping that somebody could tell me how to program a "new" function for a menustrip. I want this to reload my program. Private Sub NewGameToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewGameToolStripMenuItem.Click Dim Monopoly As New Monopoly Monopoly.Show() Me.Close() End Sub That is what i have so far the only prob
-
- Sharing Functions and constants between forms in an application
by Ian Hale
- 7 Replies
- Last post
by SJWhiteley
- I'm sure this is a really easy thing to do but I cannot get it to work.
I have declared functions and constants as public in my main form but these cannot be seen by other forms in the application. Could there be something simple I'm missing as everywhere I've searched just states - if the objects are delared public then they will be available for use in other forms
&n
-
- event handler .. plz help. Try AddHandler
by hayek85
- 3 Replies
- Last post
by Dick Donny
- I hav a class which print a tre view i want to make the constractor of this class call an event within this class as following : Class myclass
sub new my class ' handle the event end sub ' this is the event whic i want to handle Private Sub _printDoc_PrintPage( ByVal sender As Object , ByVal e As System.Drawing.Printing.PrintPageEventArgs) ' do some thing end sub end class
-
- Supressing events such as text change
by IceAngel89
- 14 Replies
- Last post
by Rabtok
- how do i or can i suppress events such as text changed. cos i want to set text in code and hence so not need it to be validated and stuff
-
- AudioPlayMode WaitToComplete fails
by Czerny
- 4 Replies
- Last post
by Czerny
- My .Computer.Audio.Play( "c:\mymusicx.wav" , AudioPlayMode.WaitToComplete)
The above works for .wav files where the music is fairly continuous, but when there are quiet gaps (about 6 secs or more) between songs within the same .wav file, the statement exits during the first quiet gap, rather than continuing to the end of the file. (Players like Itunes play the .wav file correctly to t
-
- program reinstalls automatically upon execution
by Xero_2007
- 3 Replies
- Last post
by Bruno Yu - MSFT
- hello,
i have created a program that requires installation.
the program provides users an option to restore backed up data. the program restores the data by copying some files from a directory specified by the user to the directory where the program is installed. (i invoked the System.IO.File.Copy method when creating this function.) the copied files may overwrite existing ones (that are cre
-
- Raising a TextBox Event under System.Web.UI.Page
by Serious
- 1 Replies
- Last post
by Bruno Yu - MSFT
- OK, I need to show the user how many characters he typed so far in a TextBox under System.Web.UI.Page
Any help would be appreciated. Cheers
-
- converting to binary
by jasper_z_goh
- 1 Replies
- Last post
by Nabeel Allana
- hey pals.
i have question about converting string in hexadecimal into binary .
since there wont be any problem in coverting string in hexadecimal form to decimal value is possible.
so how am i able to convert that into binary (hexadecimal in string form)
appricating to any helps given. thanks.
-
- What do the brackets around these parameters mean?
by myoungbl
- 1 Replies
- Last post
by tkerns
- I'm working on a project and used a snippet created by a fellow programmer that I don't quite understand, and would like to find some documentation concerning it. The line of code I am having the problem is this sub declaration:
Private Sub MyReceiveCompleted( ByVal [source] As [Object], ByVal asyncResult As _
ReceiveCompletedEventArgs)
What is the signifance of the brackets
-
- Com Object Failing on server.createobject
by Bob The Hacker
- 8 Replies
- Last post
by nobugz
- I am having problems calling a Com object that I created under Visual Studio 2005 with Standard ASP. I registered it using regasm.exe. Below is my code (VB) . I have tried creating the object two ways. What am I doing wrong
Server.CreateObject("TestCom2.TestFunction") and
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/mears/ReadUserCert.asp , li
-
- MouseWheel event not occuring on Panel or Label
by Joe M Jordan
- 9 Replies
- Last post
by Tall Dude
- Using VB.net 2005
I have a Window with a panel on it and a label on the panel.
I can not get the MouseWheel event to work on any object on the main Window.
The window's MouseWheel event will fire no matter where the mouse is loacted
or which object has focus or selected.
The label's nor the panel's MouseWheel event will not fire.
Any Ideas of things I can try
-
- how: capture colour at cursor point?
by nate-d-o-double-g
- 1 Replies
- Last post
by jo0ls
- how do i capture a colour from the cursor point i.e. when i click a colour from say, a palette, i want to capture that colour.
-
- Printing a File
by Lars Breiter
- 3 Replies
- Last post
by Dick Donny
- Hello NG, First, I work with VS2003 (Framework 1.1) Got a bit of a problem. I want to print a file on the default printer. This is how I got so far: ' Get the default Printer Dim oPS As New System.Drawing.Printing.PrinterSettings Dim GetDefaultPrinter As String GetDefaultPrinter = oPS.PrinterName Dim pd As New System.Drawing.Printing.PrintDocument pd.PrinterSe
-
- Save image from PicutreBox to database
by Al Durazi
- 1 Replies
- Last post
by DMan1
- .9 -June- 2007
.
.
I am using VB.NET2003 with MS Access 2003 Database.
OLEDB connection provider...............
So, how i can save image displaying in Picturebox field to MS Access databse
and , How i can load image from Access database to Picturebox field
-
- textbox in date format in a form....
by Vimal_Rupera
- 5 Replies
- Last post
by nogChoco
- can anyone pls tell me how to get date format in form designing but date and time picker. i mean i want to use date in a form without using date and time picker but using a simple textbox with date format...
this will be very useful to me..... pls help me...
-
- What is the correct way to assign a default value to a cell in a datgridview upon addition?
by chazparks2
- 3 Replies
- Last post
by Larry Charlton
- What is the correct way to assign a default value to a cell in a datgridview upon addition
I tried this but it doesn't seem to work.
Private Sub bsElementTypeDep_CurrentChanged( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles bsElementTypeDep.CurrentChanged
Try
With Me .dgvElementTypeDep
.Item( "dgvtbcProjType
-
- prevent null exception from occurring
by Malcolm McCaffery
- 14 Replies
- Last post
by Dick Donny
- Hi there,
I'm fairly new to VB.NET and love it but I'm not sure how to prevent a null exception from occuring. I can use the Try ... Catch to prevent the program crashing but I would prefer not to use this method. Is there a way to test for this without throwing exception I need to return a blank value for objUserInfo.Properties.Item( "mail" ).Value for example if nothing is found.
-
- VS2005 without .NET Framework
by Superboy
- 9 Replies
- Last post
by Spidermans_DarkSide - VSIP
- I would like to know if it is possible to devellop an application without the .NET Framework in Visual Studio 2005 Just a basic C++ or VB app.
-
- not able to open vb6 app after installing sp2
by Aravind779
- 1 Replies
- Last post
by kleinma
- VB6 application was working fine untill i install xp servicepack 2. after installing sp2 , when i try to open , no response...
i used firewall exceptions ...still no luck ..
Vb6 application contains com component developed in vb6
Could any one tell me how to solve this issue ...
thanks
aravind
-
- Need Help with a System.Windows.Forms.BindingNavigator
by Shimi Weitzhandler
- 5 Replies
- Last post
by Ayhan Yerli (TR-NL)
- let's say I have in my database a table "Customers".
the table contains these columns (Name - Type)
ID - int identity
PrivateNumber - varchar (should apear in the form as a MaskedTextBox)
MemberSince - datetime
OverAge - bit
_______
I'm intrested to make some routine the checkes if the current datarow on bindingsource is already existing:
Sub F