Recent update: 2008-3-21
239 byte By
neerav at 2008-3-8
i m scanning an image through HP 2400 thro' my VB application, when scanning is cmpleted, file is saved in its network path..but with no extension, therefor my application does not show any preview, it should be saved in .bmp extension
Is the source code available somewhere ? I don't want to emulate the VB 6.0 printer object - I just want to avoid using the stupid event driven .Net PrintDocument - I want to control page breaks myself - like in the VB Printer model. Having the source code would help.
Hi, I am a new bee to .NET. I have a Ms-Acess Database which is protected by password. This table contains tables, queries and reports. One more database contains links(references to the first database). If any table structure is changed in the first table, in order to update links I need ...
Should the click once publisher or the build project have built these references and included them in the build?
1240 byte By
Kedhri at 2008-3-7
Hello there,My name is Kedhrin, I'm new to VB and i've only been using it for one day now. I'm making a simple application in Visual Basic 2005 Express Edition that will let me edit XML Files... visually!They are only one specific XML file, and there is 9 fields where the values can change.I ...
I discovered by accident that if I took the stuff I'd normally put in a module and nested it in a class (usually as shared) I really uncluttered the autocompletion lists. (I'm a great one for always typing system.windows.forms.... So seeing less and typing more is in for me!)OTH Code Analysis ...
548 byte By
guest at 2008-3-7
HiI am using Visual basic 6 with Sql Server 2000. I have an editable textbox in my windows Form, which gets the value of a percentage field, say Tax_Rate from database. So the data field property of textbox is set to Tax_Rate. So I want to display the value to user after multiplying by 100 (%) but w...
StepOptional.Keyword specifying that the starting point coordinates are relative to the current graphics position given by the CurrentX and CurrentY properties.Here is a sample line:Printer.Line (x * scaleW * curZoom, y * scaleH * curZoom)-Step(w * scaleW * curZoom, h * scaleH * curZoom), ...
Hi, I am a new bee to .NET. I have a Ms-Acess Database which is protected by password. This table contains tables, queries and reports. One more database contains links(references to the first database). If any table structure is changed in the first table, in order to update links I need to ...
916 byte By
LeeM at 2008-3-6
The new data features in VB2005 are great, but when you need to do more than just form fill, I have found it to be too restricting. For example, I need to find the next available ID and fill it in, along with uploading pictures etc. In the end, I gave up trying to do it the 'easy' way and ...
1240 byte By
Kedhri at 2008-3-6
Hello there,My name is Kedhrin, I'm new to VB and i've only been using it for one day now. I'm making a simple application in Visual Basic 2005 Express Edition that will let me edit XML Files... visually!They are only one specific XML file, and there is 9 fields where the values can change.I ...
Hey everyone. I'm a 15 year old guy, and recently I've been getting interested in programming. I've been learning C for 2 months or so now, and this summer I will be starting VB .NET, using my Uncle's 2003 books and CD's. I was just wondering if you guys could just tell me anything you ...
Can any one send a sample for the datagrid with a combo box in it in C# Regards, Praveen Raj R
I have generated a C# client .dll for a .NET webservice. I did this by adding a web reference in VS and edited the .cs file. I have added interfaces and attributes for COM interop. I have it registered on a Win2k machine and cannot access it with VB6. Of course VB6 Intellisense works fine (I'm ...
I am trying to build a database inside VB from scratch...........usally i have used vb6 where i had the tools.How do i do this same thing in VB Express Edition Bata Version.
Hi, I want to know what are APIs and if they can be used in my programs.I want my application to show the preview of the different color schemes like the appperance tab of display properties in windows.Should i use any dlls?If so can you please tell me which one and how.I also want to be able ...
To make life easier, one of the things I provide in programs I write is a /Sendkeys= parameter for the command line. What is always yucky poo in any given program environment is figuring out what event in the startup sequence is 1) Unique so you don't do it again. 2) Always will occur3) Will ...
StepOptional.Keyword specifying that the starting point coordinates are relative to the current graphics position given by the CurrentX and CurrentY properties.Here is a sample line:Printer.Line (x * scaleW * curZoom, y * scaleH * curZoom)-Step(w * scaleW * curZoom, h * scaleH * curZoom), ...
OK, I'm gettin this error 44 and I don't know what to do.Error 44 The "ResolveComReference" task failed unexpectedly.System.SystemException: The type library importer encountered an error during type verification. Try importing without class members. > System.MissingMethodException: Method ...
834 byte By
ReneeC at 2008-3-3
Oh Jeez,I've been working for weeks on a project.It's been stable and I published it. The deployment works absolutely fine.It installs and is beautiful!BUT.... after publishing... I can not develop. I can not activate the code in the debugger. I can't do anything. The code has binary ...
Hi everyone, I want to know how to show screensavers in a windows form & also want to change the the windows color schemes and themes from my application.Please help me I need this (quickly) for my academic project. Thank you.
How can I create an exe file from VB.NET project that include a data base? note:: I want to run the exe file in a computer that have no sql server and no .NET framework thank you safi
Can any one send a sample for the datagrid with a combo box in it in C# Regards, Praveen Raj R
2731 byte By
J.C. at 2008-3-1
I am sure the "Patterns & Practice" team @ MS are squirming about this InteropForms Toolkit 1.0. Honestly, I am a little disappointed in the emergence of this toolkit. Ideally MS should’ve created a migration path process and set of patterns to allow the developer to understand ...
834 byte By
ReneeC at 2008-3-1
Oh Jeez,I've been working for weeks on a project.It's been stable and I published it. The deployment works absolutely fine.It installs and is beautiful!BUT.... after publishing... I can not develop. I can not activate the code in the debugger. I can't do anything. The code has binary ...
I know that the ability to use non-local data in the Express versions has been removed, but i also know that it is possible to connect to a non-local database using code. is there anyone outthere that could help me, i cant figure out what that code is, i am trying to connect to my SQL2000 DB, ...
692 byte By
Erin at 2008-3-1
I have been developing a VB.NET application, and have been trying this week to test deploy it to other machines here in the office and keep getting some sort of message like "WindowsFormsParkingForm" error, memory location cannot be written to. This error comes up after the "End Sub" in Sub ...
I'm Trying to code a btnFind to search for a serial Number and retrieve the page that it was originaly on. If I could just get a generic example that would be great. David
Hi VB Community Members,We wanted you to know about the release of the new Interop Forms Toolit 1.0. In a nutshell the toolkit makes it easy to create Windows Forms in VB.NET and then add them to an existing VB6 application. This makes it much easier to extend your VB6 app gradually and ...
OS = Windows XP Pro SP2 Tablet PC edition. VS = Visual Basic 2005 Express Edition Beta 2 with default folder paths etc. VB is working fine. I downloaded Refactor 1040 and executed it with full Admin privileges, but the install stops almost immediately with the error message "Setup could not ...
1. When we use Data Adapter Configuration Wizard to make Data Adapter, there is a checkbox option:"Refresh the dataset: Indicates whether you want the wizard to generate code that re-reads a record from the database after updating it. The Select statement is added to the corresponding command ...
Hi, I'm trying to pass a LongVarBinary data type parameter to a dynamic SQL, but it gives me a Syntax error.That is in order to insert a blob data type under Informix DataBase. The code that I'm using is the following:'******************************* dim intValReturn as integer = 0 dim ...
Hi when installing a visual basic 6 project in Vista 32/64, the process completes fine but when i try to execute the file after i get the error:"component 'mscomm32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid".I have made sure i have the ...
Hi everybodyI migrated a VB 2003 project to VB 2005. It has as main output a dll library which I need to register for COM interop. The application builds fine until I check the compile options "Register for COM interop" .I get the following errorError 1 Cannot register assembly ...
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source? Michael
Given the code below, I am trying to implement a "double-checked" constructor for a singleton pattern essentially....What has me confused is how I should handle my locking. In examples I found it often showed the simple "SyncLock Me" approach to lock a section of code. When I try to use this in ...
Hi NG!First, sorry for my bad English The datagridview-Control enables the user to order columns as he like. But how do I store the order of the columns and how do I set the column-order in the way the user want to?I searched for a sample about My.Settings in association with the datagridview ...
583 byte By
jptrt at 2008-2-26
I've got a VB application that has a number of 1280x1024 forms. I'd like to be able to implement a "print screen" function.I tried the PrintForm Power Pack, (Form.Print), but I only get about 80% of the form, so the form must be too big for a single page (other threads say this is ...
Am i overlooking something ?I followed the instructions and created a . net interopForm project.Referenced everything in VB6A vb.net form expects the property MdiParent to be set ...This property is not available to set , will i get there by adjusting the interface of iiForm ?Any suggestions ...
Hi Everyone,IntelliSense code snippets are one of the coolest new VS features. One of the things that makes them so cool is that they're extremely easy to use. Here's a list of FAQs that should give you some more information on code snippets, including how to create your own.Should you have ...
Help, I can't figure out how to replace an item a listbox. I can delete the selected item and add the nw item but there has to be a better way Thanks
Why doesn't this declaration work in my formsImports microsoft.VisualBasicImports System.DataImports System.Data.OleDbImports System.IOPublic Class ClassPrimary Friend s As String = ControlChars.CrLf Shared Sub main() Application.Run(New frmStartup) End Sub End ClassWhen I type s in a form it ...
697 byte By
maqk at 2008-2-25
I have some problems with the data from wizard itemthe wizard asks for dataset, connection, tables, & in lst view, since i want the add, delete updata all buttons, i select the non grid view [individual records that is]Now i have been succesfull in updating any record MashaAllah, haven't ...
First of all thanks. It is a great toolkit. Well done.I have existing VB6 application and the toolkit will be very helpful. Bu I am prefer C# now. So why not expand Add-In to support C# code generation, and add some C# templates. I did some reverse engineering to achieve this. You can see ...
Because there are huge number of data files in my project, I try to zip them together to a compressed file and then uncompress them back in the installation process.I used pkzip to compress all the files to a zip file and then convert it to a self-extract exe file, finally I add the exe file to ...
How to find row position after table sort? Datagrid is binded to ds1.sometable. I have DataRow object or DataRowView from cm.Current and position before sort (cm.position or dg.CurrentRowIndex) but how to find where is its position to navigate DataGrid to select row after I re-sort datagrid? I ...
192 byte By
lew26 at 2008-2-25
I can't seem to find the radiocheck properties for menustrip menu's it is in earlier visual studios version. does anyone here know anything about that? I would surely appreciate the help.
I am using VB 2005 How can I search all active PCs in a network in vb.net Regards
Hi VB Community Members,We wanted you to know about the release of the new Interop Forms Toolit 1.0. In a nutshell the toolkit makes it easy to create Windows Forms in VB.NET and then add them to an existing VB6 application. This makes it much easier to extend your VB6 app gradually and ...
I'm currently coding some opengl in visual basic.net 2005 express edition. I have a lot of pushmatrix and popmatrix function calls and I am having trouble working out which start and ends connect. Is there some way that I can make the code between the two statements autoindent like it does ...