Answer Questions
JeremyB How to obtain program directory
How do you obtain the installed path for the program. I need to check if a file is present in the directory where the main application is installed. Thanks. In VB Express / 2005 My.Application.Info.DirectoryPath For More details... http://msdn2.microsoft.com/en-us/library/6whasz3x(VS.80).aspx Big help! Thanks. ...Show All
GunasekaranT Question ?
I want to ask how to zip a file using vb 2005 for ex. i have a text file MyFile.txt of c:\ and i want to zip it using vb 2005 any one can help thanks There is a lovely C# zip libary implementation called SharpZipLib have a search on the net. Its very good, and very fast. It also handles a few things that aren't built into the compression routines in .net (at least in 1.1 anyway, 2.0 might have them now) Just google it and ...Show All
Juxos64 Reference compiled assembly
Hi, I have a solution with two projects, one class library and one windows application. The class library has a reference to compiled assembly (dll). The windows application has a reference to the class library project. The windows application is the startup project. The problem is: when I rebuild the solution if I look the bin directory of the windows application the compiled assembly (dll) does not exists. What happend Thanks. Gema ...Show All
Imtiyaz Thange CutePDF Writer,eDocPrinter PDF Pro..etc...How can i handle thease object properties...please reply....
Hi, I have created a word document using bookmarks and other things in VB. When i want to finish my document, I can only save it in .doc. Are there some libraries to pass to PDF Thanks! There is nothing built into Microsoft Word, but you can use one of the many PDF print drivers available to generate a PDF file: http://www.cutepdf.com/Products/CutePDF/writer.asp Hi, Crystal Reports pro ...Show All
Thomas Gurtl How can I get a Field From A Dataset
I set a field on my grid as not visible and when I try to rowbind data I can not get that value using the e.row.cells(6).text - So - my question is how can I get that value without showing it on the grid or how can I get this field from the dataset as each record is binding.. here is the code I have: Private Sub BindGrid() Dim myDataSet As New DataSet myConnection.Open() strSQL = "SELECT * FROM CDO_Quality_Test WHERE CDO_ID = " & ...Show All
draxx multiple select statements
Using vb.net 2005 express, can you have multiple Select Statements with one dataset or do you have to add a new dataset for each select statement. The datasource is the same. You can have multiple select statements with one DataSet. On the DataSet designer, you can - Right click on the surface, Add | Table Adapters. - Go through the Table Adapter Configuration wizard, select the Connection, SQL Statement. - Thi ...Show All
Milo123 Convert a old VB6 project
Hy all, I have a very old VB6 project (a complex one), I need to to convert it to the new .net 2005 platform. I installed VS.2005 and tryed to convert it using the conversion utility, unfortunatly I get several "Error 7: Out of memory" witch I skip and finaly a "The referenced component TXTextControl is missing a design time license" error witch stops my conversion proces. Anybody has any ideeas on this one. Have a nice day, ...Show All
Pete Brown Integration with Excel Via VB2005(BETA2)
Hi , Actually I got a problem regarding integrating “my VB2005 Pro with Excel “.. My Program simply fetches the Memory Looking Up for Some values to export to excel.. I did that very well in VB.Net 2003 but it didn't work with VB 2005(Beta) Whenever I add the Excel Reference (Library), I see nothing in the Project Explorer. Besides, I always get a syntax error indicating that the Object Of the Excel application, the Objec ...Show All
EricLaw-MSFT Menu Item Checked Property Application Setting
I'm trying to bind the Checked property of a menu item to an application setting. But it just doesn't work. The item always has the checked state that I give it at design time. This works OK when I try it for a checkbox but not for a menu item. Here's the autogenerated code I have: Me .mnuasd.Checked = Global .WindowsApplication1.My.MySettings.Default.MenuChecked Me .mnuasd.CheckOnClick = True Me .mnuasd.Name = "mnuasd&qu ...Show All
gobears54 Where is VS2005 beta2?
Anyone know when the official Visual Studio 2005 beta2 will drop I've been patiently waiting for it for a while. I'm not sure how much longer I can wait. Anyone who knows is under NDA and can't tell you. According to rumors I've heard, you won't have to wait much longer. Beta 2 => April 25th. I'M STILL WAITING FOR MY DISC FROM MICROSOFT!!!!!!! THEY SAID IT WAS IN THE MAIL SEVERAL ...Show All
jwize Printing in color
I am using VB2005 Express. My problem is I can't print in color I am Importing Systems.Drawing.Drawing2D and System.Drawing.Printing Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PrintDocument1.Print() End Sub Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As Sys ...Show All
MalcolmB Decent Source Code Site - Visual Basic 2005
Hi, Want to know if there are any decent Visual Basic 2005 source code sites available yet. Have lookt all over and can only find vb.net (which the conversion does not always do correctly) and allot of vb6 code. I have found that no matter how may tutorials you read and how many books you get none of them cover what you want to to cover. Since 7 Nov 2005 I'm trying learn VB 2005. My problem is the same: thoudends of pages w ...Show All
apbradley Easy Forms 2005 (Fill out VAT Forms Easily with this Application)
hey friends i am new to visual basic programming language please support me by trying this application and report me bug on this email ( dhiraj_cool_4u@hotmail.com ) or ( cool_boy_2005a@yahoo.com ) this application is on beta testing and i am sure u enjoy using it. this application uses Microsoft .NET Framework 2.0 beta2 please install it before using this application. you can download this application from the following links: From Megaupl ...Show All
zendic How do you convert the 'Sender' param in Event Handlers?
I'm in the process of learning to create controls at runtime and adding my own event handlers. Consider this declaration of an event handler..... Private Sub Hello_Click(ByVal sender as System.Object, _ ByVal e as System.EventArgs) End sub The author says you can convert the sender parameter into a button object and use the button's properties to determine which button was pressed. Unfortunately, he doesn't show you how - ev ...Show All
randomwanderer Dataset HasChanged Property
I'm Making a database program I've noticed that the property HasChanged intented to track wether the dataset has changed does not update it's value to True in case of the user has edited the data on the screen till you move to another record can I know if the user changed the data before the user leaves the current edited record to another the purpos of this is to alert the user to save data before he mopves to another record or cl ...Show All
