Answer Questions
Chamitha winform in ie? possible?
Hi... Can I have a winform and display it in IE I can assume users will have .net framework 2.0 installed. Alan, anything that allows me to have a designed winform displayed in IE would work.... I was wondering if you could take a little time and read the How to get the optimal answer to your questions at the top of the screen. Are you taking about Sm ...Show All
IrishAnto Special Directories
Is there a way to find the path to a users start menu (in order to install shortcuts). I tried special directories but I couldn't find it. Thank you. System.IO.Path has static methods for doing those sort of string mashing operations on paths. Even though it's the end of a path, the GetFilename method will return Accessories from this string. Then you need to do your own string mashing, which basically means you need to use ...Show All
Jim Sharkey Painting User Control in a DataGridViewCell
If you've read my previous thread then you'll know that I'm creating a user control that consists of a TextBox and a DateTimePicker. This control allows the user to pick a date, which is then displayed in the TextBox. The advantage of this (over just using a DateTimePicker), is that the user can delete the date string in the TextBox and leave it blank if no date is required. Anyway, in my previous thread I had an error with trying to hook thi ...Show All
FlatWhite Need help Inventory database program
I am trying to create an inventory program in VB using Visual Studio 2005 Standard, for my small repair shop. I have three venders I get parts from, each has their own small program that I can use to lookup parts and pricing. But It is a pain to use three different programs. In side their program folders I noticed that they all have an Access Database file (mdb) that they have me download to update their program when they have a price change. ...Show All
Philippe B Opening empty file as XMLDocument
Hi, in my form load I'm looking for an xml file and if it does not exists then I create it. But wen I try to open it as an XmlDocument it popups an error. I thik its because the created file is empty. Could I add the line " < xml version ="1.0" encoding ="utf-8" > " to the file on its creation and how Here's the code : Private Sub Form1_Load( ByVal sender As Object , ByVal e As S ...Show All
JeremyH999 Automaticlly Press enter in a VB Program
Is there anyway the I can make a program to automaticly press Enter after a certain time with a timer.. I tried the SendKeys and that did not work. Any suggsetions would be great Thanks true that. Sorry for the misinformation Assuming it's your program that will capture the key press, couldn't you create a function that is called each time the timer expires e.g. Public ...Show All
Jon Skeet VB confused about SQL Server versions ?
Some months ago I installed beta preview editions of Visual Studio including a copy of SQL Express. Recently, I successfully uninstalled all of these betas using the special purpose uninstall tool available on the Microsoft website. The uninstal completed successfully or so it said. Next I installed Visual Studio 2005 Professional and the installation completed successfully. I also removed SQL Server Express Edition (Autoinstalled with VB) an ...Show All
Slag Access or SQL Which one is better
Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or ...Show All
Stefnany How to set TextBox not to accept input until enter pressed and Select Case not working.
I trying to input a number between 0 and 36 into a Textbox but I don't want the number to be passed to my variable until enter has been pressed, but it currently sets the variable as soon as as number is typed into the box. Also why do my Select Case Case below not work Thanks for helping a neewbie again ! Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextC ...Show All
Travis Lowdermilk Newbie question
It have been about 10 years since I used VB, and boy have things changed. Back when I used it, VB included code for a browser that one could customize, which was similar to IE (surprise surprise). I wanted to see if I could still customize a browser, so I downloaded and installed Visual Studio 2005 Beta 2 and then tried to figure out how to compile and run the Internet Browser from http://cuinl.tripod.com/source-code-7.htm I ...Show All
SandeepBhatia Locking a member Variable in Memory
Variable life time is normally not a problem in VB but but I'm working in the context of a webservice and variable persistence is quite different. In a normal VB program Member variables are the variables common to all routines.... and not declared in a function or subroutine. They are assumed to have a lifetime for the lifetime of the program. In a normal program I can do this: Class Member variable Subroutin ...Show All
GAJMAN AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as desc ...Show All
Visual B Interacting with Excel
I have often worked with Excel via internal macro's but now I need to use net to interact. I have created my worksheet but when I try to access a cell in the worksheet via I need to be able to read a cell in the worksheet but I cannot come up with the right fromat to access the .text and .value properties. So with ws as the active worksheet, how would I set a string variable equal to the text contents of cell 1 / column 1 Thanks, Fr ...Show All
Zoltan Magyar Protected types can only be decalred inside of a class
I am using VS2005Pro Beta2 to modify a program originally written in VB2005 Express Beta2. In the Express version it compiles just fine, but when I try to compile it in VS2005 then I constantly get an error saying "Protected types can only be decalred inside of a class". The error is found in the Application.Designer.vb file which is auto-generated. So my question is: Is this a general problem with VS2005 or is it me I'm also having troubles co ...Show All
amanrathi Form1_closing.. is this a bug?
I've noticed that in visual basic 2005 that there is no form1_closing event in the event list. Is this on purpose It works if you type it in but the list doesn't show it. Any ideas on this The Form.Closing and Form.Closed events have been superceded by the Form.FormClosing and Form.FormClosed events. No, Stream hasn't been superceded by StreamReader. It probably selects StreamReader because you can' ...Show All
