473,544 Members | 1,959 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

4
1,154
thread by: Nondisclosure007 | last post Nov 30 '07 by: Nondisclosure007
Hello. If this is the wrong group for this, please let me know. I'll post it somewhere else. I've been doing data imports into MS Excel (ver 2007) and using the CORREL function. What I was wondering was is there anything like this in Visual Basic or C#? Or even a DLL? I've got VS2008 and I really don't want to code the CORREL function...
4
1,739
thread by: Bart Steur | last post Nov 30 '07 by: Herfried K. Wagner [MVP]
Hi, I'm writing an app to maintain products. The products are listed in a listbox and when I click a product in a listbox some info of that product is shown including a picture of the product. I do this by using the image.fromfile function: pbProduct.Image = Image.FromFile(myImagePath & productkey & ".jpg") Now I'm building the option...
4
264
thread by: Lou | last post Nov 30 '07 by: Lou
How do you add items(Insert) to the top of the List View? -Lou
4
1,389
thread by: Academia | last post Dec 2 '07 by: Academia
I need to create a Bitmap just big enough to display a string. Since I need a Graphic object to measure the string I create and dispose a Bitmap and a Graphic object only for that purpose. Isn't there a better way of doing this than with the code below? Thanks Dim bit As Bitmap = New Bitmap(SomeWidth, SomeHeight)
4
2,397
thread by: JimmyKoolPantz | last post Dec 5 '07 by: JimmyKoolPantz
IDE: VB2005 FILE TYPE: DBF5 I appoligize if I am posting in the wrong group. Question: Is there a position in the dbf file structure that will allow me to delete a field, such as, the way the dbf file structure has a record deletion flag? I have wrote a class for reading and writing dbf files but I recently came across the need to...
4
1,260
thread by: cfps.Christian | last post Dec 6 '07 by: cfps.Christian
We're in need of a program preferably ASP/ASP.NET (I realize the chances but we'll just start here) that will allow our help desk staff or other view what is on a user's computer without taking any control at all. This will be used to protect user's sensitive information but allow our staff to see what the problem is. My original idea was...
4
2,204
thread by: =?Utf-8?B?S2xhdXMgR29sbGlu?= | last post Dec 7 '07 by: =?Utf-8?B?S2xhdXMgR29sbGlu?=
Hi, I am using FileSystemWatcher like this: fsw = New IO.FileSystemWatcher(strPath, strFilename) fsw.NotifyFilter = NotifyFilters.Size or NotifyFilters.LastWrite fsw.EnableRaisingEvents = True This raises two events when saving file.
4
1,932
thread by: =?Utf-8?B?bWFydGluMQ==?= | last post Dec 6 '07 by: =?Utf-8?B?bWFydGluMQ==?=
All, I present some data on the window form, then I try to save window form as file on the local C drive, like save word file, can anyone know how? Thanks, Martin
4
2,405
thread by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post Dec 7 '07 by: cj
How can I see what the IP address of the computer my code is running on programmatically? I have tried something someone gave me but it seems to be obsolete (there is a wavy blue line under the "myip.Address." ) and returns a number that does not appear to be a IP address. It does not have periods "." in it. This is what I am using now.
4
1,858
thread by: cj | last post Dec 10 '07 by: WenYuan Wang [MSFT]
The program I just finished allows users to pull a set of records from sql server and edit them. It is meant to be a one user system but it makes me start thinking. Suppose two users use the program at the same time. Both get the same starting set of data. Both users change the same records but not the same way and they both save. I...
4
3,248
thread by: Academia | last post Dec 8 '07 by: Academia
I create a form Public Class MyTool Inherits MyForm .... which uses:
4
1,407
thread by: recurr | last post Dec 10 '07 by: Jack Jackson
How to get what a variable is dimmed as? How to get what an object is declared as? If variable or object is Nothing? I want to do something like the following, but TypeOf and GetType doesn't seem to work when a variable is Nothing. The watch window is able to find the type, so why can't I with TypeOf or GetType()? Public something as...
4
1,258
thread by: =?Utf-8?B?bWFnZ2ll?= | last post Dec 10 '07 by: =?Utf-8?B?bWFnZ2ll?=
hi, I need some help with a reg. expression. I have a comma delimited file with quotes. Not every field has quotes, only some. This is a sample of my file: 99,"01/01/2007","23,000",1,34,"henry",132,"45.00" I used some code from an article that I though would do what I needed, but it splits my amount fields(76,000 into two different fields...
4
2,981
thread by: =?Utf-8?B?YW5kcmV3?= | last post Dec 10 '07 by: =?Utf-8?B?YW5kcmV3?=
I am running an ASP.net program written in VB. At one point I try to convert a date string into a date time object... this string is from a central dev server and the code works on many other machines. Convert.ToDateTime("") I get the string in the format MM/DD/YYYY (06/26/2007) The code breaks and I get the "String was not recognized...
4
5,535
thread by: =?Utf-8?B?ZG1idXNv?= | last post Mar 7 '08 by: =?Utf-8?B?TWFyYw==?=
I have an Access database with a table named 'tblMedia'. In tblMedia I have a field named 'Media' that is defined as an 'OLE Ojbect' field. In this Media field, I have pictures, they are jpegs. I'm using VB.NET 2005 and I would like to open the Access database and write the OLE Objects to the file system. Here's what I got and it's not...
4
2,636
thread by: Arthur Dent | last post Dec 11 '07 by: Arthur Dent
Hello all, I am trying to figure out how to do something in LINQ, IF I can even do it in LINQ. Online samples and such for LINQ is still a bit on the sketchy side. Here is what I want to do... I have some string, whatever, that doesn't matter. I want to find all the characters which occur in the string more than once.
4
3,593
thread by: =?Utf-8?B?RG91Z0U=?= | last post Dec 12 '07 by: Cor Ligthert[MVP]
Some people tryed to help in my previous post. But I don't quite have it. What I want to do is send stdout to something on a form textbox, panel, listbox -- something. I want to write to a form the same way you would write to a console using console.write(), except I want to send that output to something on a form. Is this possible?
4
1,387
thread by: Jerry Spence1 | last post Dec 12 '07 by: Jerry Spence1
I noticed when adding Toolbox Items in the IDE that, under the COM tab I have some Microsoft. Forms 2.0 Controls. I'm not sure where they came from (VB2005, .Net 3.0??), but they have some really nice features. I used the Image control and using the various properties made a nice button which gave the impression that it stays down when...
4
8,685
thread by: Dean Slindee | last post Dec 14 '07 by: Duncan.Jones
Anyone got a quick and easy way to change the background color on a textbox after the user has change the text value. Already have lots of forms written, so an approach that does not depend on adding code to an event on every textbox would be great. Just the same, I don't see an event specifically tailored for this task (like an OnChange...
4
1,195
thread by: =?Utf-8?B?Y2xhcmE=?= | last post Dec 17 '07 by: =?Utf-8?B?Y2xhcmE=?=
Hi all, After insert an new record into database, I want to let it dsiplay the new added field , I repopulate the items , and call refrest, but the new item is still missing. Clara -- thank you so much for your help
4
2,117
thread by: JDS | last post Dec 18 '07 by: JDS
I am using a setup project and Windows Installer to deploy my application and have some additional code in custom actions. In this code I need to refer to one of the install files but I cannot find how to determine the path. For example, if the install CD is in the d: drive and the user runs d:\setup.exe I want to know that it has been run...
4
1,169
thread by: Robert | last post Dec 15 '07 by: Robert
In VB 6.0, I would use the following printer.print tab(5)"Some Text" printer.enddoc I have VS 2005 Standard running on XP-Pro SP2 The above code does not work. How do I send data to the Printer? Any pointers would be appreciated.
4
1,898
thread by: Jonathan Sion | last post Dec 18 '07 by: =?Utf-8?B?Tnl4Mzc=?=
Hi, I dont think this one is too dificult: i wish to show a windows form , its upper left corner would be right where the mouse is right now, (sort of like a popup menu) what i do is is something like: dim loc as Point = Cursor.Position myForm..SetDesktopLocation(loc .X, loc .Y) myForm.Show
4
1,386
thread by: Dean Slindee | last post Dec 21 '07 by: Dean Slindee
I have a project with many References to other projects of mine (data access layer projects, for instance). When I compile a data access layer project, the Reference in the parent project goes stale (yellow icon) when the parent project is concurrently open (two VS instances). I have been manually deleting the stale Reference and re-adding...
4
1,105
thread by: GS | last post Dec 20 '07 by: GS
which event should I use to process and format the display of a column after navigating into the row? I looked at the event for the data bound text control, I did not see anything obvious. I am trying to use the string form of a numeric value to set some checkboxes so user can see and change the value easily. thank you for your time...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.