Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Help me about Filter
dokter.cinta - 17 Jun 2006 7:56 PM - 2 messages
hi all.... i have good experience with vb but i have some serious problems i have created a mysql with table dss but i`m confused about this i think many people will have this problem in future this is the table of dss ...
Score FolderBrowserDialog hangs in 2005
Grumpy Aero Guy - 17 Jun 2006 7:53 PM - 12 messages
I have created an app that makes use of the FolderBrowserDialog. Upon building the app, installing and running it, and invoking the form using the dialog, it hangs upon folder selection and goes "not responding" Upon debugging, it hangs as well upon executing the line that extracts the ...
Score How can I change a property of a control form Form2 ?
Ali - 17 Jun 2006 7:04 PM - 7 messages
Hello How can I change a property of a control from From2 but the control is in Form1. I wrote these code in Form2 but didnt work. Dim f as new form1 f.Textbox1.Text = "hello world" ...
Score vs for .Net SUCKS Big Time
Bob - 17 Jun 2006 3:28 PM - 19 messages
Thats several times that it happened to me and I'm REALY getting pissed off!. I try to add a control or do something in code and all of a sudden you get this. Now you can't go back to your form designer to undo what you just did, ...
Score How to convert an existing bound column to use a datetime picker
Bob - 17 Jun 2006 3:00 PM - 2 messages
I saw the example at [link] However that deals with a simple unbound column that's created on the fly. I have an existing datagrid view column - named colDateActivation to which ...
Score Object reference not set to an instance of an object
Bob - 17 Jun 2006 10:38 AM - 6 messages
Hello, I'm starting with vb.net and i get this error: Object reference not set to an instance of an object Dim t() As Integer For i = 0 To 1000 t(i) = i Next Thanks Bob ...
Score treenode find node
andreas - 17 Jun 2006 10:07 AM - 3 messages
Hi, I have a problem with treenode I know the node.text of a selected node in a variable and then some nodes are removed but not the selected node who is no more selected (so using index and level are changed) ...
Score How to Dynamic adjust button's font property?
Risen - 17 Jun 2006 9:11 AM - 2 messages
Hi, How to Dynamic adjust Button's Font property? Thx. ...
Score Application.ExecutablePath not recognisze by studio express 2005
gs - 17 Jun 2006 4:48 AM - 4 messages
I do want the path and the filename of the executable. However, visual studio .net basic express 2005 rejects     Application.ExecutablePath Error 1 Name 'Application' is not declared. ..... question what should I import or what prefix I should use? ...
Score VB2005 - Sort DataGridView on Text (FormattedValue) of a ComboBox column instead of underlying value
Matt - 17 Jun 2006 4:15 AM - 5 messages
I have been searching all over the web for a way to sort a DataGridView based on the actual text being shown in a ComboBox column as opposed to the underlying value (an ID in this case). Can anyone tell me if this is even possible, and if ...
Score Prevent the fireing of a textbox leave event
William E Voorhees - 17 Jun 2006 3:32 AM - 4 messages
I have code (using the leave event) in a textbox which prevents the user from leaving the box if it is blank.  I would like the user to be able to click on the [close] button of the form and close that form without firing ...
Score appPath
gs - 17 Jun 2006 2:55 AM - 5 messages
Dim appPathFn As String appPathFn = System.Windows.Forms.Application.ExecutablePath          Windows is not a member of System I saw come code in the internet as appPathFn = Application.ExecutablePath   but that does not work for me ...
Score Learning Programming
Michael - 17 Jun 2006 1:34 AM - 8 messages
Hey, I'm, I guess, an itermediate programmer and I have a question about learning any programming language.  I understand that as a programmer you're going to probably constantly be re-writing code and the best method would be ...
Score Newbie Question
Abet - 17 Jun 2006 1:13 AM - 6 messages
Hi, Im new to VB.NET programming, Im currently starting my study. I have a simple question. I have two forms in my project and I was wondering how could I access the value of a Text box from one form in the other and vice versa. What is the best way ...
Score News content into an XML file
Karthik Natarajan - 16 Jun 2006 9:28 PM - 3 messages
Hello, I am in the process of creating a utlity where I transfer the News content to XML file. Can someone give me some directions to get this done? Thanks, ...
Score vd2005 form title bar - what is round icon to left of control box?
Rich - 16 Jun 2006 9:22 PM - 2 messages
Hello, I noticed a round looking icon with a downward chevron symbol immediately to the left of the control box on the form title bar.  When I click it the form seems to unload - whether in debug mode or standalone.  Does this icon do ...
Score news content into an XML file
Karthik Natarajan - 16 Jun 2006 9:09 PM - 2 messages
Hello, I have been given a task for creating a utility (asp.net/vb.net) exe which transaltes the news content into an XML file. Can some one give me any directions to how we need to do this? Thanks ...
Score Timer1_Tick is never fired
fniles - 16 Jun 2006 9:08 PM - 4 messages
I have a main form who calls a worker thread. Inside the thread, I call EnableTimer from the main form. EnableTimer enable Timer1 in the main form. When I debug the program, it goes to EnableTimer, and although it sets Timer1.Enabled = True and call ...
Score Refer to an Instance of a form
Ryan - 16 Jun 2006 9:06 PM - 5 messages
I have some custom forms that contain their own properties and I call them as such: Dim myDialog As New myDialogForm myDialog.mID = 1                ' sets the custom property mID to 1 ...
Score Padding blank space using PadRight
Bill Nguyen - 16 Jun 2006 9:04 PM - 3 messages
I tried in vain to add blank space to the end of couple variables as below: mPadding = Convert.ToChar(" ") mdriverBegin.PadRight(16, mPadding) mdriverEnd.PadRight(16, mPadding) mSitekey.PadRight(4, mPadding) What should I use to get a blank space? ...
Score FileSystemWatcher raises Changed Twice....
ljh - 16 Jun 2006 8:46 PM - 13 messages
Has anyone else noticed that the FileSystemWatcher raises the changed event twice when a file is changed? Do you have any idea why this is the case? ...
Score Overrides and mybase ??
TheBee - 16 Jun 2006 8:14 PM - 6 messages
Hello, I have seen the following routines in a class and don't understand how they work. For one, why two new() routines?  Which is executed?  Why not just use one routine?  What does the mybase do in this case?  Bit confusing!  :) Thanks ...
Score Memory Leaks
Malcolm Klotz - 16 Jun 2006 8:02 PM - 8 messages
Hello, I have created a Windows Service application in VB.Net 2005. The service is pretty basic, it uses the System.Timers.Timer class to poll a database that checks for jobs to perform. Upon finding a job, the System.Timers.ElapsedEventHandler creates a new thread to execute the job. ...
Score Reading Writing Binary data to a file
RML - 16 Jun 2006 7:45 PM - 2 messages
Hi, I have a MFC C++ application which write the data in a structure out to a file.  Here is the structure... typdef struct {    short ID;    TCHAR Num[10];    short x; } TestStruct; I then have a VB.NET app which reads the file data in using a BinaryReader.  ...
Score vb.net form that behaves like Access?
pw - 16 Jun 2006 6:43 PM - 3 messages
Does anyone know of a sample/template etc. of a winform coded in vb.net that behaves ~ like an Access bound form (in Form View). I'm finding that this is (disappointingly) difficult to do. Thanks, Paul. ...
Score Date time format
Bill Nguyen - 16 Jun 2006 6:36 PM - 5 messages
I've been reading a confusing guideregarding Datetime format on MSDN. All I need is to get the following output from Datetimepicker value: MM/dd/yyyy 00:00:00 (hh:mm:ss always zero) For example, '06/16/2006 00:00:00' ...
Score Input/output to parallel port?
markzoom - 16 Jun 2006 6:08 PM - 3 messages
I want to input from and output to the parallel port to read switches or turn stuff on/off. I program Microchip PIC processors in PicBasic but am just wondering if it's just as easy to replace a pic processor with a PC using VB.net. ...
Score Can we seperate the Bussiness Logic and User Interface?
James MA - 16 Jun 2006 5:13 PM - 3 messages
I'm going to build a project which contain the business logic only, and it should be device independent.  And I'll have different program to build the UI in for different platform using the same library of business logic. ...
Score How to "Archive" a text file with multiple handles open
dwainew - 16 Jun 2006 5:06 PM - 2 messages
Problem: I'd like to archive off the contents of a text file.  However, other processes may have the file open, so MoveTo(newfilepath) can't be done, as far as I've found. Start with a 5 MB MyLog.txt file that may be opened (reading and/or ...
Score Printing over network...
frank@sinatra.com - 16 Jun 2006 5:04 PM - 3 messages
Hello, I am developing an vb.net app which needs the functionality to print a report to a specific printer on the network. Can't seem to find much information concerning this. How do I go about: 1. Finding the printer on the network: Will simply using the Printer Name work? or, can I use a specific ip address? ...
Score JavaScript focus() function not working in "start without debugging"
AnalogKid17 - 16 Jun 2006 4:10 PM - 4 messages
I have the following line of code in my start/login page: document.getElementById("txtLogin").focus(); When I run the website app through F5 (Debug, Start Debugging) it works fine (ie, focus on txtLogin). When I run with CTRL+F5 (Debug, Start ...
Score Flash SWF in VS2005 .net?
Tim Dixon - 16 Jun 2006 3:57 PM - 4 messages
Hi, Can someone tell me how to get a flash file to play in Visual Basic .net? (VS2005) Tried adding a com component to the toolbox (as it worked in VS2003), but this produces an error in 2005 (seems to be a know bug with VS2005) ...
Score Q: 1.#INF
G .Net - 16 Jun 2006 3:04 PM - 3 messages
Hi Can anybody help with the following? I'm using a DataAdaptor to write data back to a SQL Server. If the DataTable contains divide by zero, then understandably 1.#INF is written back to the database. However, I'd prefer to write back NULL. ...
Score RichTextFormat Guru needed
genojoe - 16 Jun 2006 2:42 PM - 3 messages
I created a document in Word and saved it in RTF format.  The document consists of a title line, and two text lines.  For the two text lines I did paragraph spacing of 0 points before and 6 points after. ...
Score Computer info retrieval
brad_buchanan - 16 Jun 2006 2:39 PM - 2 messages
Howdy Everyone! I have an idea in mind to grab information from a computer about all the computer specs. Now getting the computer name and OS is done but I am having challenges getting the Mac address amount of ram hard drive ...
Score Assigning Nullables to each other
BobRoyAce - 16 Jun 2006 2:18 PM - 7 messages
In my property declaration, shown below, is it correct to assign _DeptID = Value like I would have if it was just a plain ole Integer, or is this like setting two objects equal to each other where the end result is that the one on the left now points to ...
Score Right-Click Functionality
sholay - 16 Jun 2006 2:16 PM - 3 messages
Urgent!! Could anybody give me ideas for including right-click funtionalities- delete and rename. ...
Score inpubox
andreas - 16 Jun 2006 1:42 PM - 2 messages
Hi, Can I change the font (f.e. size) in my inputbox with vb.net code (not in windows). Thanks for any response ...
Score Windows Service
Sam - 16 Jun 2006 1:24 PM - 3 messages
Hi all, Would some one give me a hand? I have been given a task to monitor status of records in database and if the status of the records change, I have to send email out to customers. My questions are: ...
Score vb.net and SQL2005 Business objects
Peter Newman - 16 Jun 2006 1:21 PM - 2 messages
Im looking for a working modal / example on how to execute a business object package on a 2005 server from vb.net ( 2003) , parming in parameters  much the same as vb6 and SQL2000 DTS ...
Score Datagrid / Columns / Autofit
myname - 16 Jun 2006 12:57 PM - 2 messages
Hello, I assign a Datatable to a Datagrid.DataSource. All the columns are displayed with the same width. I would like them to be set automatically to the best width (something like Autofit in Excel). How can I do that ? ...
Score Can Format function force upper/lower case?
bob@datasync.com - 16 Jun 2006 12:34 PM - 4 messages
In vb6 you could say s = Format(s, "!") to force text to upper case in the format function. I've searched the vb.net help system and can't find any help on formatting text. There's plenty of help formatting numbers, dates, ...
Score Does vb.net winform supports checkbox groups?
Annie - 16 Jun 2006 12:11 PM - 7 messages
hello guys, I have a number of checkbox contorls all together (I don't want option buttons - users request) ... I just want the users be able to select only one of the checkboxes ... if a checkbox is selected and the users ...
Score VB 2005 OOP Videos
Sharrukin Amiri - 16 Jun 2006 11:55 AM - 3 messages
Hi, Does anyone know where I can get some videos on OOP Programming in VB 2005 ? I have never done OOP programming.  I have been a programmer for 15 years. I am missing the mechanics on how to use a class within a .NET framework and ...
Score Writing a byte to a specific location in a file
Craig - 16 Jun 2006 11:54 AM - 3 messages
I have the need to write a byte of information to a specific location in a text file. eg. the file looks something like this. FYYNN Line 1 Line 2 <eof> The first character is a flag indicating the file has changed and the 2 - ...
Score Excel and VB NET
Fabri - 16 Jun 2006 11:44 AM - 2 messages
Scenario: - 1 excel file. 1 spreadsheet and 2 columns. (this is located on my computer) - 1 sql server table with the same 2 columns and values of excel files but it is located remotely on the web. Which is, according to you, the best approach to develop this software? ...
Score receiving an API message
Robert Smith - 16 Jun 2006 10:48 AM - 2 messages
I need to detect when an API call has been made from another application in another window and to react to the event. How do I detect such an event. I have lots of code making calls to other programs, but how do I detect when ...
Score Label Autosize Property... Possible bug??
Jordi Rico - 16 Jun 2006 10:43 AM - 9 messages
Hi, I've made the next inherited class in Visual Studio 2005: Public Class LabelEx     Inherits System.Windows.Forms.Label     Sub New()         MyBase.New()         Me.ForeColor = Color.Black ...
Score manufacturer property in visual basic express
manivesa - 16 Jun 2006 10:41 AM - 2 messages
Hello does anybody knows how to set manufacturer property when publishing a project with visual basic express? Thanks ...
Score Exception.ToString()
Phill W. - 16 Jun 2006 10:31 AM - 2 messages
Can anyone supply me with the code (C# or VB) that lies within the Exception.ToString() method? I'm writing Custom Exception classes and want to ensure that mine will be consistent (as far as Logging goes) with those defined in the ...
Score I don't get this --> Make Thread-Safe Calls to Windows Forms Controls
ljh - 16 Jun 2006 9:55 AM - 5 messages
I am trying to run some pretty simple code that monitors a folder for changes (copied the example at [link]). But, when I try and update a textbox control I keep getting the ...
Score User Data Validation in a Datagrid.
marcmc - 16 Jun 2006 9:55 AM - 2 messages
I have a datagrid linked to one table using dataAdaptor via the following code: Try   SqlDataAdapter1.Fill(DataSet11)   dgThreshold.DataSource = DataSet11.DefaultViewManager Catch ex As Exception   MessageBox.Show("Could not connect to Dataset/Database") End Try Field index 4 can only have a Y or N enetered by users. ...
Score Wizard for UserControl
Meelis Lilbok - 16 Jun 2006 8:53 AM - 3 messages
Hi How to create "Wizard" for user control? For example i have usercontrol with properties. To make easier for seting those properties i wan't to create a wizrd, that helps user complete and set/change those properties at design time. ...
Score Adding Image to Device Context
Prashant - 16 Jun 2006 8:46 AM - 3 messages
Hi, I want to add image to printer. So that while printing print will come come along with stamp image. I am doing printing by creating dc. I am not using vb.net method of using printdocument & adding graphics thorugh its event ...
Score VB and VB.NET
Wilson - 16 Jun 2006 7:56 AM - 3 messages
Dear friends, What is the difference between VB.NET and VB? Is visual studio 2005 and .NET different? thanks in advance Wilson ...
Score Run on another Computer
Anuradha - 16 Jun 2006 7:50 AM - 2 messages
Dear Experts I am using a deferent component to connect to the Sql server and its namespace is Microsoft.data.odbc the thing is if I run my program in another computer it  says "File or assembly name Microsoft.data.odbc, or one of its dependencies was ...
Score urgent! dataset updation in wrong row
m.ra. via DotNetMonster.com - 16 Jun 2006 6:23 AM - 5 messages
hi. ive been using a certain code for updating information from a windows form to an Access database , and it was handling the addition of new information properly until now. now suddenly the dataset seems to be reordering the rows in an arbitrary ...
Score Adding text to a jpeg file
Jerry Spence1 - 16 Jun 2006 5:51 AM - 2 messages
I am trying to add the date/time to a jpg file. I came across the following on the web which looks ideal. However, my experiences in this direction are nil! How do I modify the first line(s) to get the image from a file into bmap? ...
Score [STRING] extract a word and text around it
teo - 16 Jun 2006 2:03 AM - 8 messages
hallo, I need to extract a word and few text that precedes and follows it (about 30 + 30 chars) from a long textual document. Like the description that Google returns when it has found a given word. In example from: ...
Score AntiAlias
pcnerd - 16 Jun 2006 1:32 AM - 9 messages
I'm a VB.NET "newbie".  I want to use AntiAlias, but every thing that I try the compiler doesn't like. Sometimes it will suggest a change, but when I change it, it doesn't like that either! Weird! I can't win! ...
Score accessing TypeConverter from code
swartzbill2000 - 15 Jun 2006 10:53 PM - 5 messages
Hello, I have a TypeConverter for converting between this Enum and Strings. Public Enum DeviceNameEnum     dnNone     dn2500     dnMirror End Enum 'DeviceNameEnum The Strings are "None", "2500", and "Mirror". The conversion works in a ...
Score Whats best event for changing related data in child table
Bob - 15 Jun 2006 8:55 PM - 3 messages
I got three related datagrid views one parent and two children of the same. The two child tables contain many thousands of records and some of the contents are bitmap files in a sql server database. The default behaviour of ...
Score Wlan - VB.NET
Vhdl.eu - 15 Jun 2006 8:48 PM - 5 messages
Hi all, Is there anyone who knows how to access the Wlan Driver in Windows XP by mean of a VB.NET application? In other words; how can I use the Wlan driver from Windows in my next VB.NET ...
Score API Replacement
vul - 15 Jun 2006 6:57 PM - 4 messages
I'm converting my VB6 project into VB 2005. In VB6 I use several API functions, such as: IsWindow, GetForegroundWindow, SetWindowPos, FindWindow, ShowWindow, GetDesktopWindow and some others All of them are used to work with external windows (Word, Acrobat etc) ...
Score Refer to TableAdapter data in code?
Ryan - 15 Jun 2006 6:50 PM - 8 messages
I'm wanting to find the value of TableID on the current record displayed on my form.  I cannot seem to find any method within the TableAdapter class to find this.  An example I've found MS uses a bound control on the form and ...
Score Parameter description
Quinn - 15 Jun 2006 5:47 PM - 5 messages
If I have a procedure like Sub SUB1 (i as integer, s as string) end sub how do I write some descriptions for i and s? that way when I call Sub1 there will be a pop toothtip to describe what i and s is. ...
Score Expose Form Properties and it Controls Properties.
Dimsion - 15 Jun 2006 5:43 PM - 10 messages
Hi, How do i expose all my forms and it controls to other form in the project? I want to be able to add a form and some control on it, this then be available to all other forms. form1 click event: ...
Score List Box Population
Paul Anderson - 15 Jun 2006 5:13 PM - 6 messages
I have a newbie question that I hope someone can answer. VB Studio 2005 I have a form with a button and a listbox.  When the button is pressed the following routine is run: Public Class Form1     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As ...
Score click handler for Button in TableLayoutPanel
swartzbill2000 - 15 Jun 2006 4:11 PM - 4 messages
Hello, I have an array of Buttons down a column of a TableLayoutPanel. They all share a common click handler. In the handler, how can I determine the row of the TableLayoutPanel for the Button that got clicked? Bill ...
Score How to get Windows XP Edition?
Terry Olsen - 15 Jun 2006 3:55 PM - 8 messages
Does anyone know how i can get the XP Edition through code (Home, Pro, Corp, Retail, OEM, MCE)? I would assume it would be in the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\LicenceInfo, but I could be wrong...and I don't know how to decode it anyway. ...
Score Cannot Release C++ win32 dll loaded by vb.net
sanu - 15 Jun 2006 3:19 PM - 3 messages
Hi, I have a dll declared in my VB.Net Webservice as below Declare Function fntest Lib "test.dll" _ Alias "TEST_FUNC" (ByVal a As Integer, ByVal b As Integer, ByVal c As Single) As Double result = fntest (1,3,5) ...
Score Updating a DataSet while using DataGridView
bob@datasync.com - 15 Jun 2006 2:52 PM - 3 messages
Can anyone tell me the best way to update a dataset while it is being edited/viewed in the DataGridView control? Is this something that should be inserted into one of the grid's events? or should you update after closing the grid/form, etc.? ...
Score hiding tooltips
Robert Smith - 15 Jun 2006 1:41 PM - 2 messages
Hello,        I have a Tree that contains tooltips, however when I right click on a node of the tree the context menu covers up the tooltips and it looks rather unprofessional. I wish to hide the tooltips before the context menu is displayed. I have the ...
Score How to Send an SMS
tommaso.gastaldi - 15 Jun 2006 1:04 PM - 6 messages
Hi. I have been implementing a simple email notification system using the handy class SmtpClient:                             With SmtpClient ...
Score URI IsFile
NickP - 15 Jun 2006 12:34 PM - 7 messages
Hi there,     The following returns "False"...     MsgBox(New Uri("ftp://me.pop.com/pop.bmp").IsFile.ToString)     Is there any particular reason?  It seems like a pretty poor function to ...
Score "Optional ByVal SomeDate As Date = Nothing" in VB2005
Oenone - 15 Jun 2006 11:07 AM - 3 messages
In our applications, we use the special value of DateTime.MinValue to represent "null dates" throughout all our code. We recently ran into an issue where we wanted an optional date parameter for a procedure. We weren't able to declare it with DateTime.MinValue as its default value, as MinValue ...
Score writing a text in a file in vb.net not working properly
sethuganesh - 15 Jun 2006 10:07 AM - 4 messages
hi, i am not able to write a text properly in a text file in vb.net.below is the code that i have written.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As       System.EventArgs) Handles Button2.Click ...
Score Using Server.transfermethod
Henry - 15 Jun 2006 9:14 AM - 2 messages
Hello I'm using server.transfer() to navigate between pages, and I don't understand why the URL changes while navigating. My start page is default.aspx and from a button I want to navigate to frmAdmin.aspx so in the onClick event I have the following code ...
Score Streaming a file to text?
Hugh Janus - 15 Jun 2006 9:01 AM - 8 messages
Hi all. Is it possible to take a binary file and out put it as text so that I can store it in a text field of a database?  And then later, take the text and 're-stream' it as the original binary file.  If so, any ideas ...
Score help with using parameters
beGentle-Learner - 15 Jun 2006 8:54 AM - 2 messages
I have a query which looks like this :"INSERT INTO demo (idperson, name)SELECT idperson,name FROM ptolemy_person WHERE idperson = @original" and I have declared a parameter in this way:  OleDbCommand1.Parameters.Add("@original", txtvalue.Text). the query is supposed to populate a table(demo) with records from another ...
Score VB.net 2005 splash screen
steve - 15 Jun 2006 8:06 AM - 4 messages
Hi All I have set a splash screen form as the application splash screen in VB.net 2005 I t runs fine but stays on top when my login screen appears How can I shut the splash screen down when the login screen is shown ...
Score Count Rcords
Anuradha - 15 Jun 2006 7:57 AM - 4 messages
Dear Experts How can I count records in a data reader? Thx Anuradha ...
Score Count Rcords
Anuradha - 15 Jun 2006 7:55 AM - 5 messages
Dear Experts How can I count records in a data reader? Thx Anuradha ...
Score How to force upper case in a DataGridView column?
bob@datasync.com - 15 Jun 2006 6:42 AM - 6 messages
Now this ought to be a simple matter. But nothing's simple in the Net world, I'm finding. In vb6 you could use "!" to force text to upper case in the format function. I've searched the vb.net help system and can't find any help ...
Score Deployment of Framework from setup project
sudhaoncyberworld - 15 Jun 2006 5:42 AM - 2 messages
Hi all I am using VS2005, How can I deploy the .Net Framework from my setup project? In the bootstrapper setup program we have below 3 options 1.Download prerequisites from the component vendor's web site 2.Download prerequisites from the same location as my application ...
Score Handle pointers from delphi client to a vb.net dll
Dinesh Kumar - 15 Jun 2006 5:22 AM - 6 messages
Hi all I am using VB.NET for a Connector dll in Delphi client and some webservice . can you tell me how to handle pointers in Vb.net which are passed by delphi client as parameters in function all the information is returned on the basis of reference or pointers in ...
Score Dealing with NULL values in Integer fields
BobRoyAce - 15 Jun 2006 5:08 AM - 6 messages
Let's say I have a table called Users which has a field DeptID which is an int. I also have a User class which has a method for getting the data for a particular user (i.e. User with specified ID) and which has ...
Score Mulples threads and impersonation
David Cablalero - 15 Jun 2006 12:46 AM - 5 messages
I have a windows service which every night checks a SQL Server database for some data and business rules. The application can access different DBs with the same structure, to tell the service which database to check I created local users and assigned each of them a different default DB in SQL Server, ...
Score What's the Best Startup Scenario for Unattended Server Execution?
steveeisen - 14 Jun 2006 11:44 PM - 4 messages
I'm a long-time VB6 programmer in a shop that is mostly moving to VB ..NET 2005.  And I'm confused about coding the start of solutions for unattended operations. Much of what I write is old-time batch.  Such programs are started from ...
Score Calling a batch file from vb.net with parameters
eric.goforth - 14 Jun 2006 10:19 PM - 7 messages
Hello, I have a simple batch file that I'm trying to call from a VB.NET application: @ECHO OFF IF (%1)==() GOTO END DIR %1 > MYDIR.TXT In VB.NET I can call the batch file without the sMYDir parameter: ...
Score mdi childform wont resize - stretch when res is 800x600 ?? vb2005
Rich - 14 Jun 2006 9:41 PM - 2 messages
Hello, I have a child form in a parent MDI form.  The childform is being shrunk and cannot be resized when screen resolution is 800x600.   The end user who uses my app cannot see stuff on the screen too well if the resolution is smaller ...
Score Referencing Function Arguments
Brian Tkatch - 14 Jun 2006 8:50 PM - 5 messages
Is there a way to reference an argument to a function without using its name? Something like: Public Function MyFunc(ByVal Arg1 As String, ByVal Arg2 As String) As String   MsgBox(MyFunc.Arguments(1).Value)   MsgBox(MyFunc.Arguments(2).Value) ...
Score changing the date format in vb.net
andreas - 14 Jun 2006 8:22 PM - 21 messages
When I copy a vb.net project using date formats from one PC with a windows date format f.e. dd/mm/yyyy to another PC having a format yy/mm/dd then I get errors. How can I change for a while in the project the date format  in vb.code ( ...
Score Problem with Insert data in sql
Serafin Caballero - 14 Jun 2006 7:44 PM - 2 messages
I need, to introduce data to SQL, but a field has one comile simple in the middle, since I make to send that chain to ejecutarce ...
Score Datasets - use 1 or many?
Ryan - 14 Jun 2006 7:42 PM - 10 messages
I'm learning when it comes to Datasets.  Should I just have a single dataset to handle my entire application data or should I use multiple - a dataset for each function or form within my application?  Is the data actually ...
Score Convert Access data to XML
Parasyke - 14 Jun 2006 7:25 PM - 2 messages
Thanks in advance. I'm new to XML. I need to convert an existing Access table into XML which will allow me on a form to read the table into XML, edit, then reconvert it back to the Access table. I have ...
Score Assigning the result of a '/' division to an integer type causes rounding
Mike S - 14 Jun 2006 6:33 PM - 11 messages
Does anyone know the logic behind why in VB.NET the result of a floating-point division ('/') is -rounded- on being converted to an integer type, such as with statements like Dim x As Integer = 2/3 'after assignment, x is 1, whereas a sane person ...
Score From Delphi to VB
Henry - 14 Jun 2006 5:52 PM - 4 messages
Can anybody assist to translate this for me, just moving over from delphi function IntToIp(Address: LongWord): string; begin   Result := Format('%d.%d.%d.%d', [     Address shr 24 and $ff,     Address shr 16 and $ff, ...
Score last ditch attempt to try and get this working
Peter Newman - 14 Jun 2006 5:44 PM - 6 messages
Im still struggling to get this executing a stored proc working ..   im running vb.net (2003) and SQL 2005..  the story thus far is with a lot of help and a prevailing wind i have come up with the following ...
Score identity /autonumber drives me nuts
Stefan - 14 Jun 2006 5:06 PM - 5 messages
Hello,       vb.net /MSDE question          I have a form to add a new record.When Save buttton is pushed,the record is saved to the database,but i don't know how to ...
Next » 2 3 4 5 6 7 8 9 10