all groups > vb.net > march 2006 > threads for friday march 3
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Multiple references in the same project.
Posted by sonu at 3/3/2006 10:55:23 PM
Hi all,
I have developed an application in which there are uptill now 12
projects and few of them are
dependent on each other.
The problem is I am not able to manage the references across different
projects.
Previously I used to get one error it says something like the object of
typ... more >>
Convert from Windows application to ASP.Net
Posted by Husam at 3/3/2006 9:23:27 PM
Hi EveryBody:
in Vb.Net 2003 How can I convert my windows application to be ASP.Net Web
application ?
I mean how can I add all the classes and members of ASP.Net application to
my windows application ?
Any help will ba appreciated
regard's
Husam... more >>
Countdown/pause/resume timer
Posted by JimJam at 3/3/2006 6:32:50 PM
Hello Peeps
I have created a program in VB.NET 2003 that counts down from 7.5 hours to
zero from 08:00. I have a button that starts a new countdown from 1 hour to
zero whilst the first one is couting down from 7.5 hours.
How do I pause that time that is counting down from 1 hour & behind a n... more >>
crazy UserControl
Posted by Galen Somerville at 3/3/2006 6:28:45 PM
I have a user control with a Panel and five Labels. The end result is a
circular volume control (no actual circle is shown). The Size is 90,97
I fire up VB2005, Select Windows Application, add a couple of buttons and my
user control. The buttons are just to run the code that sets the volume t... more >>
tranferring data from Access to SQL Server Express
Posted by Marcus at 3/3/2006 4:47:49 PM
I created a VB.Net 1.1 application that iterates through all the tables
in any basic Access 2000 database passed to it and generates the same
table structure in a SQL Server Express database. The structure is
created fine (with minor data conversions from one to the other, e.g.
yes/no --> bit, m... more >>
Class in a module or class in a class?
Posted by cj at 3/3/2006 4:20:08 PM
I've got some classes for a program and the classes were written in
Module1. It works fine however I am curious if instead of doing
"project|add module" I'd done "project|add class" how is that different?
Here is the module I added. Note it contains 2 classes and the sub main.
Module Mod... more >>
Very Unpredictable ListBox Behaviour
Posted by alanb at 3/3/2006 2:46:07 PM
This is driving me NUTS. I have a listbox bound to a datasource and it
all works fine until I start deleting items from the class collection.
The frustrating thing is that there is no pattern to the error and I
can't recreate the problem with any certainty. I refresh the listbox
after deleting a... more >>
Wait for an event
Posted by casey at 3/3/2006 1:16:19 PM
I have a subroutine that has 2 sections of code. The last line of the
first section displays a button. I need my program to wait until the
user clicks the button, then continue executing the rest of that
subroutine. (Because the code in the second section uses several local
variables, I canno... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Program that Connects to Access, machines do not have Access installed
Posted by chuckd777 at 3/3/2006 12:25:08 PM
I have an executable that I plan on deploying to several other
machines.
That executable establishes an ADODB connection with Access
Some of these pc's do not have Mircosoft Access, will registering a few
dll's and active x controls allow these PCs to use the program, or do
the PCs
need a ve... more >>
USB Pen Drive Detection - Retrieving
Posted by Chad at 3/3/2006 12:18:17 PM
To anyone who is smarter than I am when it comes to WMI:
Here is what I am trying to do:
1) Detect a USB pen drive when it is inserted
2) Retrieve the drive letter of the pen drive
3) Check for a specific folder on the pen drive
I keep receiving an error message that reads:
An unhandled ... more >>
using a integer variable with a vb.net datetime literal
Posted by awrightus NO[at]SPAM hotmail.com at 3/3/2006 11:34:51 AM
I am trying to incorporate a integer variable with a vb.net datetime
literal.
For example:
Dim Jan1 As DateTime = (#1/1/2006#) would be a literal for January 1st
of this year. But I have a integer variable that represents the
current year, intYear, for example.
Is there a way to combine... more >>
Byte array to stream
Posted by Jon at 3/3/2006 11:08:17 AM
We have a regular ASP website that uses the third party ASPUpload control
for uploading files. Those files are in the byte array format, ready to be
stored into SQL Server. I need to transfer that byte array to a .Net (2.0)
DLL (through COM) and then convert it to a filestream so that I can wr... more >>
what page it is?
Posted by HockeyFan at 3/3/2006 11:07:29 AM
in base base class of a codebehind, how can I tell what page it is?
I'd like to know what page it is, so that I can redirect to a particular
page, get some information from the user, and then return to the page that
user was on.
... more >>
Adding New member to TextBox..
Posted by Husam at 3/3/2006 11:05:28 AM
Hi EveryBody:
How can I add Sub or Function or property to be a member of TextBox ?
For example TextBox1.Text , text is a property in Textbox1 How Can I add the
following sub to be a member of textbox1:
Public Sub SaveHtml(ByVal stream As Stream)
If stream Is Nothing Then
... more >>
Dates are Evil! HELP!
Posted by labelle NO[at]SPAM gmail.com at 3/3/2006 10:55:06 AM
I have an event listing on my website that is pulling from SQL.
Unfortunately, the listing is displaying all events, especially those
that are even 2 years old. I want to get rid of them and only display
events that are today or in the future. I need help!
Dim tmpEvents As Events
tmpE... more >>
What's going on in this ADO2 code
Posted by phonl at 3/3/2006 10:39:39 AM
VB.NET 2005 and ADO2.NET
After years of VB6 and ADO coding, I'm checking out ADO2.NET.
I spent several hours trying to figure out why the line:
objDataAdapter.Update(objDataSet, "myTable")
caused this error:
Update requires a valid UpdateCommand when passed DataRow collection with
modif... more >>
Cannot add MSWord reference
Posted by vul at 3/3/2006 9:57:19 AM
I'm trying to add Microsoft Word 11.0 reference to the project. It adds with
a yellow mark and it doesn't bring anything in Object Browser.. I tried it
in VB 2005 and C# (VS 2005) on 2 machines (Windows XP Pro) with the same
result.
What's wrong?
Thank you
Al
... more >>
Need scrollable container to hold controls in Win app
Posted by Ronald S. Cook at 3/3/2006 7:55:36 AM
I want to have controls on my Windows form app that I can scroll to see
more. I don't want to scroll the whole form, just the container holding the
controls. What type of container should I use to do this?
Thanks,
Ron
... more >>
how linkitem and linkTopic to migrate in vb.net
Posted by Vishnu at 3/3/2006 6:48:31 AM
we have project in vb 6.0 in that we were using label having property
linkitem =Field(1) and linkTopic= WinWedge|COM1
now we are shifted to vb.net, how this property we can migrate to vb.net
please suggest the alternative as soon as possible it will be realy great
help to me ... more >>
__declspec(dllexport) c++
Posted by Luis at 3/3/2006 3:37:26 AM
Hello...
How can I do an exported function in Visual Basic.Net?
In Visual C++ the source is the next... but I need the same in VB.Net
Thank you
/* This is an example of an exported function. */
__declspec(dllexport) int fnDLLSAMPLE(void)
{
return 42;
}... more >>
Asynchronous Invoke and the UI thread (using delegates)
Posted by brisers at 3/3/2006 2:59:03 AM
Hello,
After studying some of the available resouces
(
http://msdn.microsoft.com/msdnmag/issues/04/05/BasicInstincts/default.aspx) I
can see that it is forbidden to modify the UI directly from a secondary
worker thread. What I was wondering was whether I could instantiate a form
within ... more >>
How to use my default mail client to mail any file?
Posted by Dushyant at 3/3/2006 2:23:28 AM
Hi all,
I am working on an application, which generate xml files. Now, I want to
send these xml files as attachments to other persons using my default mail
client, like mozilla thunderbird. I want to send these files by just
specifying the mail address of the required person. ... more >>
Accessing Mdi Child Form Control form another one
Posted by Kurtulus at 3/3/2006 1:49:53 AM
Hi;
I have problem for very long time. I have one mdiparent form and
several mdichild form. I have tried to change one control on the mdi
parent form form anther one. However I have encountered an error which
is "An unhandled exception of type 'System.NullReferenceException'
occurred in .....ex... more >>
MenuItem.RadioCheck
Posted by Pascal at 3/3/2006 1:34:57 AM
I can't find the equivalent of the old MenuItem.RadioCheck property on
ToolStripMenuItem.
I need to allow the menu to have a subgroup of mutually exclusive choices.
How am I supposed to do this now in 2.0?
thanks for help
http://www.scalpa.info
... more >>
HttpWebRequest using Certificates
Posted by Josef Brunner at 3/3/2006 12:00:00 AM
Hi everybody,
my VB.NET (Framework 2.0) client application has to do a HttpWebRequest (for
reading web-pages and downloading files) on a web server. The server uses a
self-signed certifiacte and the client application should also use a
self-signed certificate (of course, signed by the same ... more >>
Testing simple VB code in design time?
Posted by Peter Macej at 3/3/2006 12:00:00 AM
I often need to test very simple code while I'm writing the program. And
I don't want to compile my whole application just to debug one line of
code. For example I want to see what "ABCD".replace("B", "X") returns.
I'm almost sure I saw an add-in that does this but I cannot find it
anywhere... more >>
How to pass parameter?
Posted by Chakravarti Mukesh at 3/3/2006 12:00:00 AM
Hi
I want to call an application and also need to pass some parameter for it.
I use
System.Diagnostics.Process.Start("application_path")
and it runs perfectly. But when I pass paramenter like
System.Diagnostics.Process.Start("application_path -parameter1 -parameter2")
it says that the ... more >>
.NET and MS Word : setting rightAlignment ???
Posted by cc at 3/3/2006 12:00:00 AM
Hi,
I'm writing a .NET-application from which I work with a Word document.
In the document do I create a table and set some properties of the cells in
the table.
Word.Table table1 = m_doc.Tables.Add(m_wordapp.Selection.Range, MAXROWS,
MAXCOLS, ref missing, ref missing)
Word.Cell cell... more >>
Focusing problem on windows form
Posted by Steven at 3/3/2006 12:00:00 AM
I have a question about the focusing on windows form control. First of all,
I have a main windows form (MainFrm) for my application, another form
(NewFrm) will be displayed if pressing one of the button on the MainFrm. I
used the NewFrm.Show() method to open the form. However, if I switch the ... more >>
2 way Dependancy Breaker Pattern
Posted by Learnicus at 3/3/2006 12:00:00 AM
Hello,
I have a Winforms app that accessess a webservice application that i have
written. Both of these use a common class called replication to carry
changes from an online database <> offline database.
Replication in turn holds the web references to the webservice such that
webservice ... more >>
|