Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Why this warning in IDE?
rdufour - 2 Sep 2006 8:25 PM - 4 messages
Dim Myfiles() as string Myfiles(0) = "filename1" I get a warning on line myfiles(0)=.. that myfiles has been used before it has been assigned a value a null exception may occur. Obviously this is bs, since I am in the process of assigning a value at that instant in code. How ...
Score writing a browser plugin
PJ6 - 2 Sep 2006 5:38 PM - 2 messages
I want to write a simple plugin for IE6 to use GDI+ for rendering to the main browser area but am having trouble getting started. Google, newgroups provided nothing, or maybe I'm just not looking hard enough. Anyone have ...
Score Read Javascript Messagebox content from webclient
Michael Duclon - 2 Sep 2006 4:36 PM - 5 messages
Does anyone know how I might use the webclient class to navigate to a web page in a vb.net app, and then if a JavaScript popup appears from the web page I go to, read the message in it or content of it, then close it so I ...
Score Print contents of picturebox
Christie - 2 Sep 2006 1:49 PM - 3 messages
In my application, lines (shapes such as circles) and text are drawn in a picturebox.  I am struggling to find a way to print the text and shapes.  There is no images in the picturebox.  Could someone please ...
Score Diff between 'n-tier' vs 'distributed architecture' vs. 'multi-layered programming'?
Jon Davis - 2 Sep 2006 1:25 PM - 8 messages
I have a couple questions. First of all, would anyone consider a multi-layered programming approach (building business objects that are seperate from data access logic and seperate from user interface logic but that interface the UI and the data) an n-tier implementation by definition? ...
Score VB2005 EXPRESS
Omar Abid - 2 Sep 2006 1:15 PM - 3 messages
Hi, This the best site where you can find Hi members, We are happy to tell that if you search for : jobs with high wage or to debug a program or to find a good source code and to make a good design ...
Score get create table script for a SQL Server object
arch - 2 Sep 2006 12:11 PM - 4 messages
Is there a function or something I can use to generate an sql script for an object in an sql server.  for example, I want to generate the CREATE TABLE AS .... statement for a table.  I don't want to use SMO or DMO but some kind ...
Score Please, can anyone convert the following dot net snippet to pascal
karmalax - 2 Sep 2006 10:10 AM - 6 messages
public static string Somme(string T) {       string text1 = "";       double num5 = Strings.Len(T) + 1;       int num3 = 7;       int num6 = Strings.Len(T); ...
Score VB .NET FTP
a - 2 Sep 2006 8:00 AM - 6 messages
Hi, If I want to write a FTP client, which class should I use to perform the FTP? Can I use HTTP to transfer file as well? How to do this by VB .NET Thanks ...
Score Convert Access Table to Text File using VB
raju5725 - 2 Sep 2006 6:16 AM - 4 messages
have a MS access table and I want to export it to comma delimited text file. How do I do this programmatically using VB.NET or C#? Thanks for any help in advance. Raju ...
Score Validating emails
John - 2 Sep 2006 1:05 AM - 5 messages
Hi I have this problem that client users enter emails incorrectly due to type and either the domain name is invalid (Microsot.com instead of Microsoft.com) or the syntax of the email (user'domain.com instead of u***@domain.com). Is there any way to ensure a) email syntax is correct and ...
Score Is there a Library or component for creating HTML?
Mr. Analogy - 1 Sep 2006 11:20 PM - 2 messages
Does anyone know of  a library, DLL, etc. what would make creating HTML easier? EXAMPLE: It might have functions like: dim hConverter as new HTMLConverter dim hTable as new TableObject (rows, col) hTable.Cell (1,1)=hConverter.ToBold ("Hell world") + " this is NOT ...
Score Structures, Classes for storing data
ArmsTom - 1 Sep 2006 10:43 PM - 4 messages
I was using structures to store information read from a file.  That was working fine for me, but then I read that anything stored in a structure is added to the stack and not the heap.  So, I made a class ...
Score what is wrong with this
Gg - 1 Sep 2006 7:52 PM - 2 messages
In attempt to file a combo box I had the following code - copied and modified the suggestion from Cur ( and thank you Cor) in other thread      Dim Conn As New OleDb.OleDbConnection(My.Settings.IeStringTmpConnectionString & ...
Score StreamWriter, FileStream throwing uncatchable NullReferenceException
paul.hine - 1 Sep 2006 7:44 PM - 2 messages
Hello, I maintain an application that pulls data from a web service and writes it to an Excel sheet. Originally, the app used OleDb to write the Excel. Exports ran fine except that some text fields were truncated due to the 255 character limit of the Jet Excel driver. To overcome this ...
Score how to add dynamic tooltip when dragging scrollbar of datagridview
Rich - 1 Sep 2006 7:39 PM - 3 messages
Hello, Some database applicatins have a tooltip feature where when you are dragging the scrollbar of the table view a tooltip appears next to the mouse cursor displaying the approximate record number you are scrolling past (Excel, Access).  Sql server has the rownumbers on the Row Header column of its table ...
Score Changing the text of a Command Button using SetWindowText
support - 1 Sep 2006 6:41 PM - 8 messages
Hi, I am trying to change the text of a Command button using the Windows API Function SetWindowText, which I have declared as follows: <DllImport("User32")> _         Public Function SetWindowText(ByVal hWnd As IntPtr, ByVal ...
Score C# keyword default(T) to VB.net
Eric Cathell - 1 Sep 2006 5:57 PM - 3 messages
I can not find the answer for this anywhere. What is the keyword in VB.net that matches the default(T) generics keywork in vb.net? C# return ID == null || ID.Equals(default(IdT)); vb.net Return ((ID Is Nothing) Or ID.Equals(default(idt))) ...
Score Appending text to an array of textboxes
Jacob.Bruxer - 1 Sep 2006 3:20 PM - 4 messages
Hi, I want to be able to append text using a For loop to each textbox in an array of textboxes that I've created, called tBoxes().  Basically I want to add a number of spaces to each textbox in the array.  ie.  If ...
Score Is Thread.Abort() blocking until Thread has exited?
Joe HM - 1 Sep 2006 3:20 PM - 7 messages
Hello - I have a function that calls Thread.Abort() to stop a thread in a _Closed() Method of a GUI.  The thread contains a blocking call on a TCP socket and that is the easiest way to stop that. ...
Score Stream
JTE - 1 Sep 2006 12:54 PM - 6 messages
Hi everybody, I made a simple Wndows application in VS2005. A form with a button and a picturebox. place it in the picturebox. Dim xx As New System.IO.MemoryStream(yy) PictureBox1.Image = Image.FromStream(xx) PictureBox1.SizeMode = PictureBoxSizeMode.CenterImage ...
Score "If" statement asking for integer
Jacob.Bruxer - 1 Sep 2006 12:37 PM - 7 messages
Hi, I'm pretty new to Visual Basic and programming in general.  I want to know if it's possible to create an If statement that asks if a value is an integer.  If it's an integer it does one thing, if it's a decimal ...
Score Developing apps with sql server tables
Mrozu - 1 Sep 2006 12:28 PM - 2 messages
Hi How do you develop applications with tables in SQL Server? I mean how do you copy tables to other computers? Do you make it by 'CREATE TABLE' SQL Query? With big tables (with many columns) this way isn't so good I ...
Score For Next Loop - Manual Might Be Wrong
Miro - 1 Sep 2006 12:31 AM - 13 messages
Im using VB2003 and i just pulled an example out of the book that says this: "Note: also that you can decalre the index variable in a For Loop using the optional AS datatype clause, as long as the index variable isnt already ...
Score Strange Datagrid Behavior
simchajoy2000@yahoo.com - 31 Aug 2006 9:00 PM - 4 messages
Hi, I am using a datagrid which contains a dataset with several tables and I am experiencing an inexplicable behavior that I am unable to resolve. Perhaps it's due to the complexity of my scenario which I will briefly ...
Score What can I use instead of "picture box"?
Carlos Villaseñor M. - 31 Aug 2006 8:39 PM - 4 messages
Hi everyboy I'm new to VB. NET, and I need to know what instruction can use instead "pictre box" control, I need to regenerate the picture in a window after that another window was superimposed or activate another application, or if ...
Score How to use Resource files in VS 2005?
Tom - 31 Aug 2006 8:15 PM - 2 messages
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons, pictures, and most importantly, ...
Score Application quit after button click
John Devlon - 31 Aug 2006 8:14 PM - 4 messages
Hi .. Can anyone please help me ? Ik would like to raise a messagebox after the close-icon is clicked, asking me if I'm sure to quit ... I'm using this code ... Private Sub myFormClosed(ByVal sender As Object, ByVal e As ...
Score EventType clr20r3 system.io.filenotfoundexception
Chris - 31 Aug 2006 6:51 PM - 3 messages
I have an vb6 application which reads data from either a comm port or an IP port and populates a SQL database. I opened the application in VS2005 and let it convert the program.  I resolved all the errors and built the application.  I then copied the entire ...
Score API FindFirstFile\FindNextFile vs GetFiles
Lance - 31 Aug 2006 4:30 PM - 14 messages
Hi All, I'm working on a program that requires searching multiple drives for multiple file types and cataloging them based on certain geospatial attributes.  All together, there are hundreds of thousands of files on the drives.  As part of the process, I'm currently using ...
Score How to Type cast ArrayList items to class objects
budy_ludy - 31 Aug 2006 4:22 PM - 15 messages
Hi All, I am new to vb .net, I have an ArrayList and i store class objects in it, and later i want to retrieve each ArrayList items and type cast to the class, How can it be done ? I used CType for casting but it is throwing exception. ...
Score use varible value in include file
martin1 - 31 Aug 2006 4:13 PM - 5 messages
Hi, All below is the seperate include file called CommonVarValue.aspx <% Dim dcnid as integer dcnid = 67 %> then another aspx file has sqlDataSource section whose selectCommand needs to use dcnid value, the code is like below, anyone knows what is correct ...
Score VB 2005 with Active Directory
IainM - 31 Aug 2006 3:34 PM - 5 messages
How can I enumerate AD objects (only in a given OU, not sub OUs) using the DirectoryEntry object? Let me know of this is the wrong forum for this question. Thanks, Iain ...
Score Best practices for creating a "wizard"
redeagle - 31 Aug 2006 3:11 PM - 9 messages
I'm wondering what the best practice is for creating a WinApp "wizard" that contains 4 or 5 "steps".  Options so far are 1) Single WinForm making various controls visible/non visible at the different steps(although that may get cluttered in the design environment) ...
Score using com-port in VB.net
Wim Linders - 31 Aug 2006 2:08 PM - 4 messages
Hi, I have to capture data from the com-port that comes from a barcode-scanner with rs232-cable. What is the best way to do it in .net? In my first attempt i used the msComm-ocx (the one that came with vb6). This ...
Score Return DataRow
samoore33 - 31 Aug 2006 1:40 PM - 6 messages
I use the code below to search through a DataSet: Dim t As DataTable t = result.Tables("State") Dim strExpr As String strExpr = "id = '" & theState.ToString() & "'" Dim foundRows() As DataRow foundRows = t.Select(strExpr) This of course returns foundRows. My problem is that I need to return ...
Score include file
martin1 - 31 Aug 2006 1:00 PM - 3 messages
Hi, All, I used to use include file (filename.inc) in asp to incude common varibles' value and DB connection, I tried to use same include file but failed, so anyone knows how to use include file in VB 2005 ASP? or has another solution ...
Score question about some good practises
Bob - 31 Aug 2006 12:51 PM - 12 messages
Hi, I compiled an application for the first time with no errors but following warnings: 1) variable declaration withoit an 'AS': Dim def() 2) variable 'myvar' is used before it has been assigned a value: Dim myvar ......      If  wk = 1 Then ...
Score Program works on localhost but not on server
Morrison - 31 Aug 2006 11:41 AM - 2 messages
My HelloWorld program works on localhost but not on server. I have 2 hello world applications, one in VS 2003 and other in VS 2005. Both programs is working on my computer but if I uppload it on server it ...
Score User Controls basic question
Kristian Frost - 31 Aug 2006 10:03 AM - 3 messages
Hi, Say I wanted to store a variable on my main form, then display it, or  react to it, on a User Control I'd made. How would I go about getting the variable from my main form to the User  ...
Score How to set Anchor via code? Please help.
jmmrb - 31 Aug 2006 9:44 AM - 2 messages
Thanks in advance! :-) ...
Score Question about 'Using' and resources
mg - 31 Aug 2006 9:18 AM - 11 messages
I'm migrating from VB6 and have a question about using 'Using' and the best way to use it. Here is a example of a small bit of code: dbConx("open") Using CN     Dim CMD As New OleDbCommand(sSQL, CN) ...
Score Opening Internet Explorer from within myApplication
John Devlon - 31 Aug 2006 7:11 AM - 3 messages
Goodmorning everyone, This day brings a new challenge... Does anyone know if you could launch windows explorer from within visual studio and go directly to a particular website? Thanx people... John ...
Score formula for calculating sales tax (GST)
steve - 31 Aug 2006 7:08 AM - 6 messages
Hi All Not sure if this is the right forum, but I need the formula for calculating the amount of Sales tax (GST) from the tax included price In Australia GST is 10% and the standard formula is to divide the total by ...
Score Can you tell me where to get VB.net program/software?
h974483 - 31 Aug 2006 7:04 AM - 5 messages
Can you tell me where to buy VB.net program/software? I am reading a abook and cannot continue without the program so that I can work on some of the exercises... Please tell me where to buy Thanks ...
Score VB .NET use MailMessage
a - 31 Aug 2006 5:31 AM - 5 messages
Hi I want my application uses the instance of MailMessage and SmtpMail classes to send email. How can I add a reference to the System.Web.dll assembly to use these classes? Do the SmtpMail include the SMTP server, or it just uses the SMTP server of ...
Score Multiple Sub Main?
Earl - 31 Aug 2006 3:52 AM - 2 messages
Originally posted this in the upgrade forum without an answer: I had an old VB program that I pulled into VS2005 to see if I could get anything useful out of the upgrade wizard. Well the program did not have ...
Score Version conflict
John - 31 Aug 2006 3:26 AM - 8 messages
Hi I have version 1 of an app already installed on client computers. Now I want to install version 2 of the app while keeping version 1 for now so client can test version 2 while keep on using version 1 for now. When I try to ...
Score calculate date in the future
John Devlon - 31 Aug 2006 12:49 AM - 5 messages
Hello everyone... Does anyone know if there is easy way to calculate a certain day in the future ? For example: I would like to calculate when the date is 15 days from today .... I've tried something stuppid like ... mydate.addDays(15) ...
Score combobox with data binding
GS - 31 Aug 2006 12:03 AM - 3 messages
I created a combobox on a form, and setup project data source connection, carted a table, a view for the table: create view vw_Favorite as select code + '=:' + value from codetable where codetablename= 'Favorite' and sequence > 0 that went fine except it adds top (10) percent after select. I then proceed ...
Score Data Wizard
Darhl Thomason - 31 Aug 2006 12:02 AM - 8 messages
Does VB2005 have a wizard for creating a form based on an Access db?  I know that VB6 had this, but I can't seem to find anything similar in VB2005. Thanks! Darhl ...
Score Report is mostly hidden in the report viewer
nicomp - 30 Aug 2006 11:49 PM - 5 messages
VS 2005: I created a report and I added it to a report viewer on a web page. When I view the page in my browser I can see a little sliver of what might be the report on the left edge of the report viewer. I can ...
Score fill combobox1...
gss.italy - 30 Aug 2006 9:32 PM - 2 messages
i use Call CARICA_COMBO in ACTIVATE FORM (in vb classic) to fill a comobox1 with data. How to convert in VB.NET? here the code in vb classic: Sub CARICA_COMBO() Dim cnt As New ADODB.Connection, rst As New ADODB.Recordset ...
Score DataGridView and ComboBox
dadoing1 - 30 Aug 2006 9:24 PM - 9 messages
I am sure this has been asked and answered, but here goes anyway... VS.Net 2005, VB.Net How can you display more than one field in the displaymember property of a combobox inside the datagridview control?  I am at a loss. ...
Score Tabbing through TextBoxs
Jerry - 30 Aug 2006 7:42 PM - 2 messages
Hi, I don't know the right expression for this so I'll try to explain. My application has several usercontrols that all have textboxes. When I started programming this I was unpleased to see that when I tabbed through ...
Score Multiple icons into 1 exe or dll
JR - 30 Aug 2006 6:49 PM - 5 messages
Hi, How can I add multible icons into 1 file likeSHELL32.dll from windows it has about 50 Jan ...
Score Play dvd
federico_bertola - 30 Aug 2006 5:58 PM - 5 messages
I like to play dvd  and manipulate the video stream, is there a simple way or is better to use C++? Thx in advance, Federico. ...
Score Listview ItemSelectionChanged vs SelectedIndexChanged events
Dean Slindee - 30 Aug 2006 5:27 PM - 2 messages
The listview events "ItemSelectionChanged" and "SelectedIndexChanged" events appear to both fire when someone clicks on a different item in a listview. Is there some reason to use one event over another? Thanks, Dean S ...
Score Console
mike7411 - 30 Aug 2006 4:26 PM - 2 messages
Is there a way to make the Console visible in a VB.NET Forms application in Visual Studio 2005? Thanks. ...
Score how to design a soft brush tool?
eking - 30 Aug 2006 4:20 PM - 2 messages
HI,all: I want to design a painter program use GDI+, i already design freehand solid pen tool, i'd like to design another freehand soft brush tool , but i dont know how to do the job. (use C# or vb.net) ...
Score Sending email from Windows application Not working.
xin.yadong - 30 Aug 2006 3:41 PM - 2 messages
Hi:   I have a shared function for sending Email using SMTP. It works fine in a ASP.NET web application. But when I use it in a VB.Net Windows application, it always gave me an error: "Could not ...
Score Progress bar to run with the datachecking
Gabriel - 30 Aug 2006 1:44 PM - 2 messages
Hello everybody,        i have done a vb6 project whicjh required a progress bar to run parallely to the datachecking which occured in the background. But at there it was ot possible. Now i want to know that wether it is possible ...
Score FOR ALL - Best Practices for navigating within code? -plus - Add-In's that help?
Rex - 30 Aug 2006 1:34 PM - 17 messages
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and efficient ...
Score how to get parent control of the context menu stip
Lucky - 30 Aug 2006 12:06 PM - 3 messages
hi guys, i'm working on the context menu for the controls. the problem i'm facing right now is like this : i want to use one context menu for more then one controls lets say i want to use one context menu for 3 treeview controls as 3 of them ...
Score visual basic 2005 database application
akoutoulakis - 30 Aug 2006 12:05 PM - 3 messages
I would like to make a database application with sqlserever or access. I search for an application   sample (source code) with data forms,reports,search forms etc. Do you know any sample like this ? or a web link. ...
Score How Microsoft does it?
JayvardhanPune - 30 Aug 2006 10:38 AM - 3 messages
Dear All, I am creating a Image Library and want to know what can the best and standard procedure to do this. Concept is to have all the images needed by all projects (dlls and exes) in the product at a central place (in a single DLL) making it ...
Score crystal report question
Localbar - 30 Aug 2006 10:08 AM - 4 messages
I install a system in win98 2nd edition... everything is ok..only print have error... but the system in win2000 ..all is ok...no error anyone know that what's the problem thx ...
Score Service station petrol pump interface
steve - 30 Aug 2006 10:03 AM - 3 messages
Hi All Does anybody know where I can get information on PC interfacing to Service Station petrol Pumps I have been asked to write a POS application for a service station and thus need to read data from the petrol pumps ...
Score Where can we buy VB.net?
h974483 - 30 Aug 2006 9:41 AM - 6 messages
Where can we buy VB.net? Is is a free ware? Thanks ...
Score show something while loading .Net framework
steven - 30 Aug 2006 9:35 AM - 4 messages
Hello, As anyone knows, before starting up a .Net application, parts of the ..Net framework must be loaded in memory. Therefore, starting this application can last for quite a few seconds (especially on slow computers). Is there anything you can do to show the user the framework ...
Score Accessing COM DLL MS Project
Goofy - 30 Aug 2006 8:50 AM - 4 messages
HI Continuing on from my previous post I am trying to access the MP Project COM Server which is installed with MS Project. However, I get the following error message, what am I doing wrong. I have done the following ...
Score Icons needed
Gabriel - 30 Aug 2006 7:27 AM - 3 messages
Anybody having information about downloading high resolutioned icons for software creations. Please send the sitenames or icon collection to the mail gabrielva***@yahoo.com or gabrielva***@rediff.com. Thanks to all those tries to help me out. Please dont send Rapidshare.de site because i ...
Score A Service in VB.NET 2005 using a form ?
hex40 - 30 Aug 2006 7:03 AM - 5 messages
Hi, I have created a Service with vb.NET 2005 and I want to show a form. How can I do this? Can I do it like this? Or should'nt I use a form in a service at all? ...
Score Concurrency violation at update
John - 30 Aug 2006 6:50 AM - 12 messages
Hi I had a working vs 2003 application with access backend. I added a couple fields in a table in access db and then to allow user to have access to these fields via app I did the following; 1. Regenerated the data adapter sqls by running the data adapter wizard and ...
Score do event
a - 30 Aug 2006 4:51 AM - 6 messages
Hi In VB6, if we need a loop to wait something from the OS, like a signal from internet, we need to pass the token to the token inside the loop. For example, while(1) doevent if (flag ==1) then ...
Score VB6 to VB.Net ActiveX Document DLL (VBD) Inquiry...
Vincent777 - 30 Aug 2006 2:59 AM - 3 messages
Hello Friends, I have been a long VB6 programmer and I am looking to move to the .Net framework.  Currently I have a project which uses VBD documents (ActiveX DLL).  I have searched the net about finding a comparable solution under ...
Score Date/Time problem
John Devlon - 30 Aug 2006 1:03 AM - 3 messages
Hi, I've created a class With a few properties of type "date". I also have a SQL-database (which I can't change) with columns of type "datetime" when I use ... clsInfo.date = now() .... I can't pas the date to the database without errors... ...
Score How to dynamically instantiate a base calss (w/ args to constructor?)
Andrew Backer - 29 Aug 2006 11:32 PM - 5 messages
Hello, I am having a problem creating a class dynamically.  The class I have is a base class of another, and the parent class has the constructor (which takes one argument).  The base class (Class1, below) does not ...
Score Serving a different website based on source internet address ?
Skybuck - 29 Aug 2006 9:16 PM - 2 messages
Hello, Based on the source internet address a different version of the website should be presented/served to the user/browser. For example in pseudo code: if SourceAddress = '143.3.5.1' then begin   ShowBlueWebsite; // Load/Show BlueIndex.htm ...
Score No equivalent control
Al - 29 Aug 2006 8:41 PM - 3 messages
VB6 is not supported or its support will be discontinued - I hear that pretty often. For VB 2005 development some controls from VB6 have no equivalent, for instance DriveListBox and DirListBox. MSDN says that OpenFileDialog and SaveFileDialog (.Net components) have all ...
Score How to use this service ??? WSDL available
Edje.Rommel - 29 Aug 2006 8:38 PM - 14 messages
Hello, I've have a problem with a webservice. I just want to validate a VAT number by country code and VAT numer. The return value should be like "it's valid" and/or the name where it's registered to. ...
Score Listview deselect all
John Devlon - 29 Aug 2006 7:37 PM - 8 messages
Hello, Does anyone know how to deselect all items in a listview ? Thanx John ...
Score rgb colors in vb.net
reidarT - 29 Aug 2006 7:29 PM - 6 messages
I want to change the background color on a panel when mouse over and when mouse leave. If I use ..background.color.lightgreen it works OK, but I want to use ....background.color.rgb(x,y,z) but it doesn't work ...
Score ASCIIEncoding.GetString returns different values
jason.pileski - 29 Aug 2006 6:31 PM - 2 messages
I'm converting an asp.net 1.1 app to 2.0 and am having difficulty determining why ASCIIEncoding.GetString returns a different value in ..NET 2.0 than 1.1.  The code is simple but I can't locate the problem. ...
Score string process
dotnetnoob - 29 Aug 2006 4:59 PM - 2 messages
hello, i have a arraylist /box /box/boxTest /vbox/vboxTest /vbox is it possible to process each item in the arraylist as string and if first encounter "/" then get the value for example box and process that item and move on to the next item in the arraylist and if it encounter box and the ...
Score Writing text to file
John - 29 Aug 2006 3:40 PM - 9 messages
Hi I am trying to set-up an app log file that needs to be created if does not exists but opened for append if exists. How does one go about doing this? ..net seems to have many ways to do io stream, boggles the mind. ...
Score Getting Data out of MS Project
Goofy - 29 Aug 2006 2:49 PM - 5 messages
Hi, We have a situation where there is a requirement to extract and report data to an ASP.NET/VB application from a MSOffice 2003 application. Best idea to be able to get to the Data ? I know there is a COM Interop ...
Score Crystal Reports for .NET 2005 secuity issue with terminal services connection?
tommcd24 - 29 Aug 2006 2:42 PM - 4 messages
I have an in-house VB.NET 2.0 application that uses Crystal Reports for ..NET 2005 - CR10?). A few users access the program via a Wyse dumb-terminal via Citrix. For some reason that I've not been able to ...
Score How can I prevent the user to end my program
JR - 29 Aug 2006 2:24 PM - 4 messages
Hi, I have a programm that user to end with ctrl-alt-del and "end service". there is an option in the menu and I want the user to use that methode. Jan ...
Score VB .Net (VisualStudio 2005) and the SQL Server SMO Object question
Catadmin - 29 Aug 2006 12:09 PM - 2 messages
I was told to post this in one of the dotnet groups.  I hope this is the correct one. Several months ago, I took the official Microsoft 2733B course to upgrade my skills from SQL 2000 to SQL 2005 and one of the neat things the course did ...
Score VB .net, Access Error - specific cast not valid
amit - 29 Aug 2006 11:24 AM - 3 messages
Hi guys I am trying to use Access Database with VB .net. In the stock database I have Fields Code and DrugName; Data Type of both is Text. In the following code line marked with *** gives the error "specific cast not valid " ...
Score try Catch for empty textfield
John Devlon - 29 Aug 2006 10:37 AM - 10 messages
Hi, I would like to check if a text field is empty; I'm using this code ... Dim strTitle As String = String.Empty Try    strTitle = Trim(txtTitle.Text) Catch ex As Exception When strTitle = String.Empty   MessageBox.Show("error") ...
Score moving controls with in an image
Adrian.Martin.Taylor - 29 Aug 2006 10:22 AM - 3 messages
Hello I'm affriad i'm a bit of a novice to VB but have been asked to create a form. I wanted to create a map which will display powerstations in thier correct geographical positions. I have a combobox (which is linked to a ...
Score Passing System.Enum as a parameter type... Help!
Powers - 29 Aug 2006 9:55 AM - 2 messages
I currently have a large number of enums implemented into my Web Service.  I am reworking the XML serialization of these enums. At present, each enum has hardcoded values, for example:             xAttrs = New XmlAttributes ...
Score VB Express & Excel automation ?
Gultekin Komanli - 29 Aug 2006 9:14 AM - 4 messages
Hi all, I'm new to .NET stuff and trying find a way to do automation with Excel, using VB 2005 EE. I searched this forum, there are samples that use some namespaces for office automation but I was not able to use those, is this feature ...
Score import data from sql to excel using vb.net
Deep - 29 Aug 2006 8:59 AM - 2 messages
i whould u like to import data from sql server database into excel sheet using vb.net ...
Score Fade out problem on a form with irregular backgroud image
Cylix - 29 Aug 2006 7:14 AM - 2 messages
I have a form with a irregular background image, let say a circle. I would like the form shows and that fade out and close slowly. I have already done the fade out part by the timmer to set the form ...
Score Ole db Command
Agnes - 29 Aug 2006 6:35 AM - 3 messages
..Parameters.Add(New OleDbParameter("@cocode", OleDbType.VarChar, 10, UserName)) (A).CommandText = "select 'loginid' from 'coinfo' where 'loginid' = ? " (B).CommandText = "select loginid from coinfo where loginid = @cocode " When statment(B) executed, "missing operand" occurs. However, when I change into statmnet(A) , Everythings go fines, WHY ? ...
Score Convert file
Alan T - 29 Aug 2006 6:33 AM - 2 messages
I want to convert file type another such as convert from HTML to .txt convert from Excel to .txt convert from Word to .txt convert from PPT to .txt so that I can run it programmatically in my code. Any ways or any .exe of this utility can do this conversion? ...
Score how to raise predefined events
raju - 29 Aug 2006 6:12 AM - 3 messages
Hai,     In my device application, i am drawing some icons using drawicon method in paint event. In some situation, i need to call the same paint event explicitly. Is it possible to call the paint event from form's click event. ...
Next » 2 3 4 5 6 7 8 9 10