Answer Questions
Derrick Ryan GDI Save Problem
I've been reading books and surfing the web for an answer to what, I thought, was a standard graphics problem I'm having...hopefully you can help. I need to obtain an image from a file (bmp), display it on a form (probably a picturebox), draw on it (g.drawline(), etc.), and then save the image as a different BMP. Here's a simple version of the code: Dim g as graphics = Me.CreateGraphics() ' get image Dim myImage as Image=Image.FromFile( ...Show All
U3Bunji Newbie - Problem spawning a thread
Hi, I'm kind a new to this VS .net stuff. I'm building my first application in VB.net. It's a crystal report scheduler using multithread functionality. The program works fine on my machine, but when I deploy it, the part that suppose to spawn the thread doesn't work. Other part of the program works fine, but when it's time to spawn the thread, nothing happen. Any body got any idea Any help is appreciated. Thank you, Rudy No prob ...Show All
RazzleDazzle How to move/snap mouse pointer to an object
I have an application where I want to move or snap the mouse pointer to a point on a graphic when it gets in the vicinity. I have the code figured to detect when the mouse is in the vicinity, but can figure how to move the mouse pointer. Or must I realy go to the extent of hiding the cursor and drawing my own pointer This worked, but the system thinks the left button is still depressed (which is what I clicked on Button1) so if i move the ...Show All
Aksh_bvn Logical error? Please help!
Hi, I'm running this project in vb.net 03, and for a reason i can't not find the problem. Every time that the user enters any input it authenticates and return an access granted, which is what i wanted to have, BUT it approves any input. I might miss something in there. Here is the code. class: Public Class clsemployee Private strusername As String Private intpassword As Integer Private ...Show All
Mini6321 replacement of MAPI control in VB 2005? for sending mail
Hi , this might realy be a very simple question in VB6 I used MAPI control to send email what is the replacement for that in VB 2005. Can anybody send me a small sample code. I am trying but going into deeper problems. Thanks regards Use the classes in System.Net.Mail Add this to the top of your code file Imports System.Net.Mail Simple sample Dim client As New SmtpClient("mail.Yourmailserve ...Show All
cykophysh VB .NET 2003 Form Scrolling Controls
I have created a form using vb in visual studio 2003 whereby the form is longer than the screen (height 2000) and becomes vertically scrollable. I have placed text boxes throughout the length of the form. The form compiles and debugs with no errors, but when using the form and scrolling to the bottom, then clicking in a text box for focus, the form immediately returns (auto-scrolls) to the top of the form befor ...Show All
Liz____9 Fax Service Extended COM API
hai , how can i get reference to the "Fax Service Extended COM API" functions programmatically. Clearly i would like to invoke the functions like FaxgetJob and the types in that API. Thanks in advance. Thank you for reply. To add a reference first of all i have to register that dll. right. but when i tried to register that dll it gives 'loadLibrary ...Show All
Emrei Newbie question regarding declaring "variable" variables...
Ok, so what I'm trying to do may be impossible, but hopefully not. Right now, this is what's in my head: I have a listbox that starts off empty. The user inputs an item and a quantity, such as Apples and 12. The 12 gets fed into a variable, such as qty_apples. Then, it updates the listbox and adds "Apples = " & qty_apples (which gives Apples = 12) Now the tricky part. The user might then enter another number for apples, so now they might p ...Show All
MPrutz Creating Strongly Typed Datasets from an XML File
I am trying to learn to use XMLDataDocument (where I can access and modify data in both an xml format and through a dataset). I looked at this site, with a tutorial for VB 2003. XMLDataDocument This site explains how to take an XML Document and convert it into an XSD schema which is then converted into a strongly typed datasets. In 2003, all you do is press "Generate Dataset" on the schema window and you are set. In 2005, that &quo ...Show All
smileshalini Sendkeys during program startup
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 occur 3) Will occur late enough so that the form that is the target of the key strokes is visible and accepting keys. Suggestions please for VB.net as to what event is a ...Show All
Yoni Rapoport How to set cursor for a control from a file
Hi How can I set cursor for a control from a "cur" file in VB2005 Thanks Here is a resource I found really quick which explains how to embed files into your project. http://www.vb-helper.com/howto_net_embedded_resources.html For you, you'll obviously want to use a cursor instead of a bitmap (as the article describes). Then set the control's cursor to the object instance once you'v ...Show All
pfelsted 2 Textfiles in DataSet
Hey there I have a problem: I import 2 textfiles (they are saved in the same folder and TabDelimited) with the Visual Studio 2005 wizard into a DataSet. Now I'd like to do a SQL query which gives me all the records that are in one table but not in the other one. But here I got an error. I tried some ways in query builder but it seems that a query through 2 textfiles isn't possible. When I select a row from only one textfile the ...Show All
Ilske Trying to update a datatable
I am completely frustrated… Trying to help a friend. Here is what I have been trying to do.. I am a noob at visual studio. I am setting up an inventory database using VB as the front end. I have setup an accounts table, product table. These I can view edit, delete, and ad records to fine. I am trying to make an invoice. I have set up the following tables: tblInvoice ...Show All
Chris Dunaway MSFlexgrid query
Hi, I was recently tasked with inserting a column in an existing MSFlexGrid that I inherited. I have accomplished all side issues except successfully updating the query for the data. The backend is MS SQL Server2000 I continually get an Error 3061 when I add the field to the query. It is a large grid and I am trying to insert the fild before the Planned_Ship_Date Column. Here ...Show All
GoingDotNet How to get the user/owner name of a process in vb.net???
Could anybody tell me How to get the user/owner name of a process in vb.net The reason I need it is because I developed an application, which I will put on the winnt enviroment, I want to allow multiple instance. but only allow one single instance per user. I am using Application.Run(MyMainForm) to start my application Thanks, Joseph Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName) need to get the ...Show All
