Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Using config file with Windows Service.
Rico - 17 Mar 2007 11:27 PM - 4 messages
Hello, I have a Windows Service writting in VB.net 2003.  There are some items in the service that will require certain variables such as Admin Email Address, smtp server, SQL Server name and instance, database name, things like that. ...
Score IComparable
John Devlon - 17 Mar 2007 11:04 PM - 3 messages
Hi, Could somebody please tell me how to use Icomparable in a .NET project? Like I was a 5 year old? I'm trying to sort an array of objects and I can't get it to work .... How do I modify the main class using IComparable ? How do I sort the array in ...
Score Base64 Encryption Question
Lauren Quantrell - 17 Mar 2007 10:18 PM - 4 messages
I have a spec that calls for a Base64 encrypted password to be passed to a web service. I have poked around Convert.ToBase64 but am at a total loss on how to do this. Made more complicated is that the password is part of a complex data ...
Score Media removed
Samuel - 17 Mar 2007 8:26 PM - 2 messages
Hi everyone, If while I copy files to memory pen the user pulls out the device, I get an exception saying 'path can't be found' (the exception occurred in the line of code that creates a folder) Instead I would like to show the user a message and carry on with the work. ...
Score Is VB Caca??
Don - 17 Mar 2007 7:25 PM - 187 messages
I realize that this may sound like a troll but it is not intended to be. I haven't been reading this group but I've seen a number of vociferious postings lately saying that "vb dotnet doesn't work". ...
Score OpenFile Dialog and view mode
Marco Trapanese - 17 Mar 2007 4:48 PM - 5 messages
Hi! I show an OpenFile Dialog with: dlgOpen.ShowDialog() but I'd like to change the default view among Detail, Thumbnail, Icons, ect. Users change the view mode by this button: [link] I want to do the same from code. How should I do? ...
Score Re: petition to save VB!
Tony Toews - 17 Mar 2007 4:43 PM - 2 messages
Todos Menos is not a Microsoft employee.  This posting is by A a r o n    K e m p f. Tony ...
Score WCF sample works in C# but not VB
Ronald S. Cook - 17 Mar 2007 4:36 PM - 7 messages
I'm able to walkthrough a C# sample for Windows Communication Foundation and all works fine. But when I do it in VB.NET exactly the same way (but with different syntax, of course), I get the following when I try to go to the IIS service: ...
Score Why does Format.String do rounding?
Tony Girgenti - 17 Mar 2007 2:43 PM - 8 messages
Hello. Trying to develop VS2005, SP1 windows form VB program. When i try a statement like below and the data is "24.95", without the quotes of course, regPriceString equals "000000000025+" . regPriceString = String.Format("{0:000000000000+}", merchandiseDataRow.Item("RegPrice")) Why does it round the number?  What does formatting have to do with math? ...
Score VB 2005 and Vista
tclancey - 17 Mar 2007 9:09 AM - 6 messages
Do they live happily together? Cheers, Tull. ...
Score Re: petition to save VB!
Branco Medeiros - 16 Mar 2007 8:51 PM - 4 messages
BogusID wrote: <snip> <snip> Do you have more of that? Please? =)))) Branco. ...
Score Make component aware of settings for target app?
teslar91 - 16 Mar 2007 7:58 PM - 5 messages
I have a class library with a custom component (MyComponent). MyComponent requires several values to function properly.  These will be different for each app it's used in; but for each app, these values will be the same for each instance of MyComponent. ...
Score How to move a intptr in vb.net 2003
Robert Dufour - 16 Mar 2007 7:56 PM - 12 messages
As a simple example starting with a memory pointer location I need to do 10 operations, (like copying 10 values to an array for instance), then when that's done, move the pointer to the eleventh location so that I can then ...
Score Connection String with Crystal
pooba53 - 16 Mar 2007 7:40 PM - 5 messages
Posted this to vb.crystal and received no response. ---------------------------------------------------------------------------- I'm using VS 2003 and VB .NET along with the embedded version of Crystal Reports. When I build and deploy my application, the Access db that I use is stored in the directory containing the executable that ...
Score problem with module
André - 16 Mar 2007 7:16 PM - 5 messages
Hi, I wrote this module in file "module.vb" and put it in App_Code of my asp.net application. Imports Microsoft.VisualBasic Public Module Mymodule     Sub Main()         MyFunction()     End Sub ...
Score Demo Software?
sstory - 16 Mar 2007 7:05 PM - 5 messages
Not a VB question, sorry.. Hope you will indulge me this once. I am looking for software to demo a VB app, as a Flash video, with audio. The Camtasia studio is about $399, does anyone know of something more ...
Score Need Help Manipulating Strings (Remove/Replace)
pbd22 - 16 Mar 2007 6:54 PM - 2 messages
Hi. How Do I "UPDATE" a previously created string? I have a problem where an XML string created in an event handler fails because the string doesn't "UPDATE" each time the event hanlder fires, but "APPENDS", creating lots of repetition in the XML: ...
Score Disabling the enter key on a Web-form
almurph@altavista.com - 16 Mar 2007 4:56 PM - 2 messages
Hi everyone,    You know the way pressing the return button inside a textbox in a Web form causes the page to be refreshed?    Is there any way this can be disabled?    Woudl appreciate any guidence on this one. ...
Score Receiving email in VB 2005
Martin - 16 Mar 2007 4:40 PM - 4 messages
Hi all, I can't find it. A long time ago I made in VB6 an alternative e-mail client, to receive and process e-mails. Now I need to do something similar, but of course in VB2005. I found a system.net.mail object, but it seems I can only ...
Score DataBinding a TextBox to an Object
Dustin Davis - 16 Mar 2007 3:32 PM - 3 messages
I've been having problems with databinding. I've created a simple solution to emulate the problem I can't figure out. Basically, I have a TextBox bound to a property in an object. When the property is updated, how do I get the field to show the new value. I assumed that databinding ...
Score Send raw data to the printer
Iouri - 16 Mar 2007 2:47 PM - 5 messages
I have tried the code posted by Microsoft here [link] It works fine in VS2003. But when I try the same code in VS2005 I am getting the following error ...
Score Help creating a transparent screen lock like program
E C H (He of too much code) - 16 Mar 2007 1:43 PM - 3 messages
I am very weak in VB.NET, I am using VB.NET 2k5 Express.  I have only created one program, and heck it was my first ;-) (URL below if it matters).  I am trying to create a program ...
Score Auto Time Out
tclancey - 16 Mar 2007 12:37 PM - 4 messages
Hi all. I have a requirement to Auto Time Out an application after a certain amount on inactive time.  If the user hasn't typed anything into the application, and hasn't clicked any control the app will close all open forms, apart from ...
Score How can i turn off auto arrange icons?
Sofianos George - 16 Mar 2007 12:32 PM - 5 messages
How can i turn off auto arrange icons? ...
Score vb.net - populate one listbox from another
lolly - 16 Mar 2007 12:30 PM - 2 messages
Hi all just wondering if any one has any idea on the following... I have two listboxes - one listbox populated from a database ListBox1.Items.Add(dr("NAME")) and the user can collect multiple items. The next listbox is populated from the selected items from Listbox1. ...
Score Dynamic Charts in Excel.
Jawad Rehman - 16 Mar 2007 11:02 AM - 2 messages
Hello everybody..... I have an excel file which is resided on server,there is some data on the cells .Now i want to generate dynamic graph on the basis of the data present in the excel file  using ASP.NET. ...
Score Error while proccessing certificate.Load
balakrishnan.dinesh - 16 Mar 2007 10:26 AM - 2 messages
hi,        Im getting a Error while importing a PFX using Certificate.Load method My code is VBscript const CAPICOM_KEY_STORAGE_EXPORTABLE=1 const CAPICOM_KEY_STORAGE_FLAG=1 const CAPICOM_KEY_STORAGE_DEFAULT=1 const CAPICOM_KEY_LOCATION=1 const CAPICOM_CURRENT_USER_KEY=1 Set st = CreateObject("CAPICOM.Store") ...
Score VB.net, Combobox and keyboard function keys
Alam - 16 Mar 2007 10:09 AM - 3 messages
Hello All, Just couple of simple questions if someone can help: 1. I have a combobox and its properties are set as: Autocomplete mode = suggestappend Autocomplete source = List items Is there an event which will allow me to trap Value member detail when ...
Score Datagrid question
Q - 16 Mar 2007 9:47 AM - 4 messages
Hello to you all, Sorry for cross posting this question, but the other group is not that often visited as this one. Here's my question: I have an application with a datagrid. The user should only be able to update records in this datagrid. ...
Score Create a DLL with VB.NET to use it in ASP pages
pons - 16 Mar 2007 8:56 AM - 5 messages
Hi, I have to make a DLL in Visual Studio using VB.NET, then I have to use it on a web application in ASP. This is my class: -------------------------------------------------------- Imports System Imports System.Net Imports System.IO Imports System.Text ...
Score calling an event in code.
JDMils - 16 Mar 2007 7:00 AM - 2 messages
I have the following declaration:    Private Sub CheckForInvalidData(ByVal Sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles _                                     tbTotalTests.Validating, _ ...
Score datagridview cell setting
galletg - 16 Mar 2007 2:54 AM - 3 messages
please; how to write by code in a datagrid view cell a text in a textbox. thank you for your help. georges gallet ...
Score Trouble getting timer tick to fire in Windows Service
Rico - 16 Mar 2007 2:18 AM - 3 messages
Hello, I'm trying run a process at regular intervals using a windows service.  the problem is, the timer_tick event doesn't appear to be working.  I've written the following code as a test; Public Class FileName ...
Score RE: Replacement for StrPtr ?
Brenton Norman - 16 Mar 2007 1:36 AM - 3 messages
I have the same issue to resolve.  Here is relevant code that requires modification:             lngResult = CoCreateGuid(udtGUID) ' Create a 'raw' GUID             If lngResult = GUID_OK Then ...
Score Litle Problem Help Plz
CorfuVBProgrammer - 16 Mar 2007 12:19 AM - 3 messages
I have create a very simple program in my Visual Basic 2005 Pro. I retrive some records from my database and then i have bind some text fields to that data. When the application starts then the text fields are showing the first ...
Score Copy a file while it is open
Samuel - 15 Mar 2007 10:30 PM - 7 messages
I am trying to write  a small utility program that backs up a list of files/folders I need to back up all files including those that are opened, is ther a way of doing that? (it seems that backup programs are doing just that) ...
Score question about attributes of class
André - 15 Mar 2007 10:15 PM - 3 messages
Hi, i'm still learning working with classes. I read this code: Public Class Employee     <Browsable(True)> _     Public Property Property1() As String         Get         End Get ...
Score vb2005 - how to overwrite an existing file?
spowel4 - 15 Mar 2007 8:18 PM - 3 messages
I'm new to Visual Basic, so I apologize for basic questions. Here's the code I've got so far, which works as long as the destination file doesn't already exist:         If My.Computer.FileSystem.FileExists("c:\test.cd") Then ...
Score How Redim 'Unidimensional' Array?
Freddy Coal - 15 Mar 2007 8:16 PM - 2 messages
Hi, I don't know how redim an array, My problem whit an example: I define my array Dim Ary as array I put three elements inside my array Ary = Split("one,two,three", ",") I would like redim my array for delete the space "Three", how make that? ...
Score Include File
Antonio Lima - 15 Mar 2007 7:56 PM - 2 messages
HI, How can i include a file in the right way in ASP.NET ??? Tks, Antonio ...
Score difference between 'overrides' and 'overloads' in class?
André - 15 Mar 2007 7:52 PM - 13 messages
Hi, i'm learning working with classes. In class "classbase1", i defined an overridable function. In the class "subclass1", i defined the same function with 'Overrides'. In class "classbase2", i defined the same function and in the class "subclass2", i defined the same function with 'Overloads'. ...
Score Client Callbacks And Event Handlers
pbd22 - 15 Mar 2007 7:33 PM - 4 messages
Hi There. I think i need some software design help. I have a page, server.aspx, that starts uploading video files when it is loaded via hidden iframe by the client. On the same page is an event handler (below) that produces useful data about the upload ...
Score Select All Button
schaapiee - 15 Mar 2007 6:38 PM - 3 messages
I want to select all instead of clear all..thanks    Private Sub btnClearChoice_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClearChoice.Click       Try          Dim row As DataRow ...
Score VBScript -> C# .. construct problem
tomi.trescak - 15 Mar 2007 6:17 PM - 7 messages
Hi I'm rewriting some old vbscript to .NET (C#) and i dont understand what does following mean: for intVBRMode = 1 to 4         objProfile.VBRMode(WMENC_AUDIO, 0) = intVBRMode         select case intVBRMode ...
Score Nothing Generates for OleDbCommandBuilder
Paul - 15 Mar 2007 6:14 PM - 8 messages
I'm trying to update a Microsoft Access database.  I can successfully read from the database and submit a command to DELETE all records from a table.  Now I'm trying to add records to the table that I just ...
Score get ip address of this pc with windows app
cj - 15 Mar 2007 6:07 PM - 4 messages
How can a windows app get the ip address of the machine it is running on?  vb 2005 ...
Score pass comtrol name to a subroutine
GH - 15 Mar 2007 5:52 PM - 2 messages
How is it possible to pass a control name (possibly one of several) to a subroutine in VB.Net (for aspx page) I have multiple gridviews on a page and one of them will be exported to Excel, however which one depends on other factors.  I have an ...
Score Simple clock on a aspx page?
Tmuld - 15 Mar 2007 5:45 PM - 6 messages
Hello, I just need to create a simple clock. I was going to have a plain page with a lable on it.  Then point that label to the time: label1.Text = DateTime.Now.ToLongTimeString but that will make it display the current time - how do I get it to ...
Score rowfilter problem with fieldname containing space
touf - 15 Mar 2007 5:11 PM - 4 messages
Hi, I've an error when using this expression myDataview.rowfilter="client id = '1111'" this is because the field name "client id" that contain a space. I don't have the possibility to change the query (to add an alias for ...
Score does vb2005 have builtin UnDo feature for apps? or do I have to wr
Rich - 15 Mar 2007 4:32 PM - 5 messages
Hello, Does vb2005 have a built-in UnDo feature / object for applications so that I can undo actions like other windows apps?  Or do I have to write my own UnDo routine?  If vb2005 does have a builtin Undo feature / object / command  -- how to ...
Score Re: petition to save VB!
CodeMonkey - 15 Mar 2007 3:59 PM - 3 messages
RobinS wrote: And on 99.999% of his arguments, he's wrong and doesn't even bother to find out first. He's stuck in the dark ages... ...
Score Need a very simple WCF example/walkthrough
Ronald S. Cook - 15 Mar 2007 3:47 PM - 2 messages
I'm new to Windows Communication Foundation (WCF) and needing a very simple VB.NET code example or walkthrough so I can create my first solution. If anyone knows a link or two, I would greatly appreciate it. Thanks, Ron ...
Score where to get a replacement CD/download for VS 6.0?
Bill Nguyen - 15 Mar 2007 3:47 PM - 3 messages
I lost my VS 6.0 developer CD set. Is there a place I can go to download the CD's, at least the VB portioin of the set? Thanks Bill ...
Score Why is MDI form minimized by MessageBox
Goran Djuranovic - 15 Mar 2007 3:36 PM - 7 messages
Hi all, I have a VB.NET windows application that uses MDI form. When I try to delete a datagrid row from one of the MDI children forms, I use a MessageBox YesNo confirmation, which, after confirmed, minimizes the MDI form. Why is this happening and how can I prevent it? ...
Score Windows service problem on x64 server
vsciw - 15 Mar 2007 2:57 PM - 3 messages
Hi. I think this is the correct group to post this in. apologies if not. we had a VS2003 built windows service installed and running on both a 32-bit and 64-bit server ok (vb.net). we had to upgrade the service to ...
Score File Owner
levimc - 15 Mar 2007 2:52 PM - 3 messages
I know that that topic may be old to you but I looked at other more- than-two-year-old topics related to mine.  However, I didn't find them working for my project at all because its errors return back to me everytime. ...
Score Date vs. DateTime
cj - 15 Mar 2007 2:41 PM - 3 messages
Converting a vb2003 program to vb2005 and making some changes I just noticed in 2005 DateTime was not showing as an option when I type dim starttime as Then I noticed it's in the all listing not the common.  Then I notice ...
Score reasons to hate C#
PJ6 - 15 Mar 2007 2:19 PM - 41 messages
I want to rant, but I'm too busy at the moment. Who else hates working in C#? What's your biggest pet peeve? Paul ...
Score sending data with serial port problem (16chars=ok, >17chars Not working)
cvschie - 15 Mar 2007 1:55 PM - 2 messages
Hi, I have a LED Sign with standard software to control messages (via serial port). Because the limitations of the software I want my own VB.net program. With a serial analyzer program, I see all the data that the standard ...
Score Datagridview Calculation
Murali - 15 Mar 2007 1:10 PM - 2 messages
dear all, I am very new to vb.net 2. This is my post to this site. I have some doubts in Datagridview. I am using datagridview in unbound mode. in datagridview i have 4 coloumns product   qty   price   amount ...
Score Database Records Represantation Problem ? ? ?
CorfuVBProgrammer - 15 Mar 2007 12:24 PM - 2 messages
Hello all . . . I'm using the Microsoft Visual Studio 2005 Pro. I have create an application (my first one) and i connected to Northwind database thru MS SQL Server. Then i used some text fields to my form and i was bind some fields to ...
Score Inheritence and overloading operators
Noodle - 15 Mar 2007 10:35 AM - 4 messages
Hi Guys, not sure if anyone can help me on this one but...... I have a class that I overload the equality operator (=).  I also have a class that inherits from this first class which has extra attributes that i need to check to see if they are equal for the previous ...
Score Text in .NET
AHA - 15 Mar 2007 9:57 AM - 10 messages
Is it possible in VB.NET to print document using dot matrix printer as we do with clipper? With Clipper we can  set the column and line printing and also we can eject the printer through the code. I have a problem to print text in pre-printed form(document) using ...
Score how to create class instance?
André - 15 Mar 2007 9:21 AM - 5 messages
Hi, i defined a class "myclass" in the App_Code directory of my asp.net application. i tried both syntaxes and both work. My question is: is there a difference between both lines and what's the best? dim x as new myclass ...
Score To create table in SQL by reading the values from XML file
Priya - 15 Mar 2007 7:16 AM - 4 messages
Hey all, Is there a way to create a table in the SQL database by using an XML file as an input? I want to have an XML file which holds all the details of the table like the tablename, columns, datatypes, table ...
Score Testing functions from the immediate window on 64 bit Visual studio
kiss deez - 15 Mar 2007 1:23 AM - 5 messages
Hello, I am trying to test various math functions through the immediate window while in design mode (I have a 64 bit system). For example, I have the following function:     Public Function MyFunction(ByVal input As Integer) As Integer ...
Score Problem of ToOADate function
snow - 14 Mar 2007 11:59 PM - 6 messages
Hi All, ToOADate can change a date value to a double value, but if I change the Regional and Lauguage setting in control panel, for example, change English(US) to English(Australia) , the same date time will get different double values from function ToOADate. How to always get the ...
Score Need to add more than 3 worksheets to excel workbook??
mike11d11 - 14 Mar 2007 11:07 PM - 4 messages
I was able to create three worksheets in my workbook, but when I go to add the 4th I get an Invalid Index error.  I must be leaving something out to when adding 4 or more sheets.  Thanks ...
Score Web reference timeout
cj - 14 Mar 2007 5:56 PM - 4 messages
I have a VB2005 windows app that uses a web reference to submit a soap request to a business partner.  I'm not the most knowledgeable on this topic but what I have works and has worked for months now just fine.  My ...
Score Service Installer
Lou - 14 Mar 2007 5:36 PM - 3 messages
I created a simple Windows Service using VB .NET. How do I install it? -Lou ...
Score Pressing the <enter> key & javascript
almurph@altavista.com - 14 Mar 2007 5:14 PM - 2 messages
Hi everyone,     I'm a newbie to vb.net. I have written some code to detect when a user presses the down-arrow, up-arrow and enter button. Essentially the user can arrow down or up through a list and the textbox is ...
Score Type Conversion with Date formatted as YYYYMMDD
Mike - 14 Mar 2007 5:08 PM - 11 messages
I have a string variable containing a date formatted as YYYYMMDD For example - Dim x as string = "20070314" If I try to perform a type conversion as follows I get an error: Dim y as Date = CDATE(x) How can I perform a type conversion for the date format YYYYMMDD? ...
Score Assigning Default value to Enum Variable
Lucky - 14 Mar 2007 3:59 PM - 3 messages
Hi guys, i was working with Enum and one Question strike, i thought it would be good idea to ask more experience guys around. the scenerio is like this : [System.ComponentModel.DefaultValue(check.None)]     public enum check ...
Score if listbox.selecteditem(I) I get Invalid cast Exception was unha
Nach - 14 Mar 2007 3:55 PM - 3 messages
I am new to .net can someone teranslate the foloowing in .net Ls and Lt will be listboxes.  Sub ListCpSelected(Ls As Control, Lt As Control)     'Copies selected items from one list to another     Dim I As Integer ...
Score Code generation for property 'Controls' failed. Error was: 'Object reference not set to an instance
Don - 14 Mar 2007 2:39 PM - 2 messages
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed.  Error was: 'Object reference not set to an instance of an object.'" I've traced the problem to a custom control I created that inherits from ...
Score Serial Port stops receiving.
tclancey - 14 Mar 2007 2:20 PM - 3 messages
Hi.  I have a running app that listens to many virtual com ports connected to Ethernet to RS232 coverters.  Connected to each multi-port converter is a bar code scanner, (RS232). The app runs without any problems at all to start with, but after a certain ...
Score VB 2005 and Exchange Server
tclancey - 14 Mar 2007 2:18 PM - 4 messages
Hi. I need to write an app that will poll a mailbox on an exchange server, check for certain words in the mail and repond in several different ways. I'm fine with checking text, creating emails to send and all that, I just ...
Score Form that is not a top-level form cannot be displayed as a modal dialog box error
active - 14 Mar 2007 1:56 PM - 5 messages
At the statement: FormEdit.ShowDialog() I get the following: Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling showDialog. For lack of a good plan I tried: ...
Score System.Net.Mail.MailMessage
cj - 14 Mar 2007 1:07 PM - 4 messages
Is this not available in 2003?  It works in 2005.  I'd like to use it in a 2003 program. ...
Score Binary String into Byte
Tobi - 14 Mar 2007 12:48 PM - 3 messages
Hello, I have a string containing a binary code, mystring = "1010100" and i want to write this string ino a byte, not an byte array to interpretate it as an ASCII Letter. I found a way to put it in a byte array, but then i have a bytearray ...
Score Figure out domain of system?
Smokey Grindel - 14 Mar 2007 12:47 PM - 2 messages
Is there any quick way to get the NT Domain of a system that is in a domain? I already found the computer name in my.computer.name but dont see a quick solution to the domain... anyone know of one? thanks! ...
Score Dynamically creating and naming collections
paulb - 14 Mar 2007 10:46 AM - 6 messages
Hey, Does anyone know how to create and name collections dynamically? I am writing some vb.net (VB2005) code which requires me to create an unknown number of collections and then add them to a master collection so I can ...
Score SUM STRING UNTIL
ancora - 14 Mar 2007 9:54 AM - 2 messages
in A column i have many records as string like (A) one two three four five ten ten nine nine ..... ..... ..... etc with vba i would find all the SUM string that have at least "x" characters including spaces between the strings, for example if i ...
Score C++ Function Pointer to VB.Net
banleong - 14 Mar 2007 9:13 AM - 10 messages
To all gurus, I am currently converting some of C++ codes to VB.net The C++ Codes is as follows : ================= C++ CODE ================== typedef struct _tagBBCameraParameter { unsigned int preview_width; unsigned int preview_height; unsigned int preview_x; unsigned int preview_y; unsigned int preview_format; ...
Score OLEDBConnection Or SQLConnection
JO - 14 Mar 2007 8:11 AM - 2 messages
hello, is there a difference in speed between OLEDBConnection and SQLConnection bye, ################################################################## bonjour, existe t'il une différence de rapidite entre une connection OLEDBConnection et une connection SQLConnection ? merci ...
Score Sending Email in VB 2005
Rico - 14 Mar 2007 5:53 AM - 4 messages
Hello, I have an application in VB 2003 that uses System.Web that creates and sends an email.  I'm trying to turn this application into a Windows Service in VB 2005 and have discovered that System.Web.Mail is replaced by ...
Score Leaking window handles
Mike B - 14 Mar 2007 4:07 AM - 4 messages
I've got a forms engine-type app that's very control intensive, and after it runs long enough it gets the "can't create windows handle" message.  I don't seem to be able to track down whatever it is I'm not ...
Score unmanaged code calling managed
swartzbill2000 - 13 Mar 2007 11:47 PM - 2 messages
Hello, Can unmanaged code (existing cygwin c dll) call into a class library created with VB.Net? If so, how? Bill ...
Score Process.Start and Console Window Issue
Stephany Young - 13 Mar 2007 9:36 PM - 11 messages
When one uses the System.Diagnostics.Process.Start method to launch a common or garden Console application, one can set the WindowStyle property of the StartInfo object to ProcessWindowStyle.Hidden so that the window for the Console application is not visible. ...
Score Creating a B&W tiff file in vb 2003
Robert Dufour - 13 Mar 2007 9:19 PM - 9 messages
I been trying to look for samplecodes on how to create a simple tif file. I found a lot of commercial and stuff but I would prefer to roll my own. I only need to put some formatted text in a tif file so it can be faxed out. ...
Score How do you make a dialog forget its fields when reshown?
HONOREDANCESTOR - 13 Mar 2007 8:20 PM - 3 messages
I have code like this       TheDialog.ShowDialog If the user fills in the fields, and then hits OK, and then later comes back to the dialog to add a different item, the dialog is still ...
Score music file properites?
ray well - 13 Mar 2007 6:27 PM - 3 messages
hi i need to write an app that assigns single pieces of music recorded in digital files to artists, albums, tracks etc., properties that are part of the meta file info of audio files (as seen when u right click them, and ...
Score ComboBox Scope Help Needed
bh - 13 Mar 2007 6:11 PM - 4 messages
I'm trying to define a combobox on a form and make it accessible to another form. I drop the control onto the form in Visual Studio (2003), but when I go into the code-behind and add the "shared" keyword, the control disappears ...
Score Wild Character Help
Playa - 13 Mar 2007 5:03 PM - 2 messages
I am trying to use a wild character in the LIKE part of my select statement for connecting to an AS400 database table and can't get it to work properly.  I can get it to work when I hard code the value in.  See below... ...
Score Sub Main Not Found
A. Robinson - 13 Mar 2007 4:45 PM - 3 messages
Okay...this is my last post for the week!! I've been follwoing the examples in BOL/MSDN and yet I'm encountering issues constantly. This one is actually occuring when I'm in VS and trying to create the actuall script. Here are the ...
Score Loading a collection
Scott Cupstid - 13 Mar 2007 4:19 PM - 10 messages
Ok, here it is.  Which is more correct? AList = New ArrayList for i = 0 to 10    A = New myObject    AList.Add(A)    A = nothing next --- OR --- AList = New ArrayList for i = 0 to 10 ...
Score SendMerssage in vb.net
Nach - 13 Mar 2007 4:18 PM - 4 messages
What do I have to do to convert the following lines in .net ****************************** Dim result As Long     Dim SrchStr As String     SrchStr = txtPick     If Len(SrchStr) Then     result = SendMessage(lstpick.hwnd, LB_SELECTSTRING, -1, ByVal SrchStr) ...
Score How to change a String into a Byte to show a ASCII Character
Tobi - 13 Mar 2007 4:12 PM - 6 messages
Hi, i have a problem. I want to get Ascii Caracters out of a 7 Bit long Byte, that should be no problem with the getString Method, but i dont have a byte i have a String which contains only an array of bits (i.e. 0010101). ...
Score Converting a base64 string to a Hex string
Jeremy Kitchen - 13 Mar 2007 3:54 PM - 10 messages
Are there any library functions that can help me to do this? If necessary I can convert the string to a byte array. I don't want to have to write my own Hex conversion if it isn't necessary. ...
Score check daylight saving on PC
martin1 - 13 Mar 2007 3:22 PM - 3 messages
Hi, All, My app picks ccurrent time on the PC to retrieve data from sql DB, the Sql data is always data with non-daylight saving. The app runs on PC with both daylight saving and non-daylight saving. So the question is how to check the ...
Next » 2 3 4 5 6 7 8 9 10