all groups > vb.net > january 2005 > threads for tuesday january 18
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
There is no source code available for the current location
Posted by Ray at 1/18/2005 11:09:01 PM
I have an application that is suddenly having some very strange problems. If
I step through the following code;
With AppSetting
conRules.ConnectionString = "Data Source=" & .Svr & ";Initial Catalog=" &
..DB & ";user ID=" & .User & ";password=" & .PWord & ";Persist Security
Info=True;Packet ... more >>
Accessing a JS function from VB DotNet
Posted by Adrian at 1/18/2005 10:23:11 PM
Hi
I'm building an ActiveX replacement in VB.net base info from
http://www.vbdotnetheaven.com/Code/Jun2003/2067.asp
Anyone know how I can call a JavaScript Function in the hosting webpage from
within my VB.Net app?
Thanks
... more >>
Changing desktop Icon in real time
Posted by joisey NO[at]SPAM mindspring.com at 1/18/2005 10:21:01 PM
I need to let the user know what state a certain property had the last time
the program was run.
Is there a way to have the application itself change the desktop icon used
to start the program.
I refer to the icon which was placed on the desktop by the install routine,
which I specified when... more >>
Using Dispose for auditing?
Posted by Jonas at 1/18/2005 9:05:48 PM
Hi!
I'm developing the middletiers of an ASP.NET application in VB.NET. I've got
a business logic layer in which I would like to perform auditing to a
database. Instead of making an auditing call in every method of my classes,
would it be a workable way to implement IDisposable in the base ... more >>
to Ken Halter and the other dedicated VB MVPs
Posted by smith at 1/18/2005 7:26:33 PM
The intense off-topic VB6/VB.Net thread "Where is the Key in Treeview.Net"
(started Dec 2 2004 and cross-posted to every VB group under the sun) really
got me to thinking.
And that thinking got me to typing this:
http://www.smithvoice.com/C1swf.htm
All the best in 2005 and here's hoping... more >>
Dll Usage In Vb.Net ?
Posted by Jm at 1/18/2005 7:05:53 PM
Hi All
I have a quick question about using references in vb.net. I\ve made a class
library which basically holds a server name, ip address and authentication
info which im using inside a program. I have given the dll file a strong
name key and imported it into the assembly cache on my machines... more >>
IWSHRuntimeLibrary
Posted by Dennis at 1/18/2005 6:45:06 PM
I am trying to use the DriveClass to get the information for a drive but
can't seem to get the syntax, etc. correct.
I tried:
dim drives as DrivesClass = ??????????? tried NEW but it's private
dim d as drive
for each d in drives
next
--
Dennis in Houston... more >>
.net COM object debugging
Posted by fedak at 1/18/2005 6:29:07 PM
In VB6, one was able to "run" a class library (.dll) in the IDE. When
an external application then instantiated an object in the library, it
would be routed to the live IDE debug session.
Is there a way to do this in .net? I can get it to work if I
explicitly launch the external applicatio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Q: Radio Buttons
Posted by Geoff Jones at 1/18/2005 5:47:03 PM
Hi
I'm hoping that someone can help me with the following question about Radio
Buttons.
In MFC there is a way of attaching a variable to several radio buttons so
that it can be looked at to see which of the radio buttons is checked.
However, in VB.NET, I can't see how to do this, other t... more >>
Button Double Click.....
Posted by Hewit at 1/18/2005 5:23:59 PM
When exactly the double click event of button will be called? Practically it
is not possible as always single click will be called and I could not
produce this event at all.
Any ideas? I am using .Net Framework 1.1.
Hewit
... more >>
text box clear at a single instance
Posted by Lal at 1/18/2005 4:40:17 PM
dear all
On my project all forms have 10-25 text boxes, i want to clear these text
boxes.
insted of typing .clear on every text boxes any single command for a
particular form
i am new in .net
please help me
regards
lal
... more >>
NEWBIE - Accessing Variables stored in another form
Posted by Dave at 1/18/2005 4:39:16 PM
I understand that I need to use a "Friend" declaration for these variables,
but I've searched all over the internet and can't figure out how to retrieve
and set the value of variables that are stored in forms outside of the one I
am coding in.
Can somebody provide me with some direction or ... more >>
Non-Type Safe Example
Posted by Jeff Chan at 1/18/2005 4:33:21 PM
I have read the documentation from msdn to try to understanding the concept
of "Type safe". Would someone give me an example of code segment
illustrating what is *Non* type safe?
Many Thanks,
Jeff.
... more >>
CreateObject("WScript.Network")
Posted by Dennis at 1/18/2005 4:03:03 PM
I use the below code to get the Network Places items. However, this requires
"Late Binding". I read that you can avoid late binding by adding a reference
to the Com Types in your application. Does anyone know what reference to add
and what to import?
Dim drives() As String
Dim ob As... more >>
double quote in sql
Posted by Greg Chu at 1/18/2005 3:49:06 PM
I am using vb.net to retrieve data from access mdb.
when I tried to specify a sql string
.... where xyz = "123"
how do I specify the double quote?
I tried use
dim sqlstr = .... & """ & "123" & """
it would not take the last """, complaing end of statement needed.
Please help!
T... more >>
Load Picturebox images that were added to the project
Posted by IT NO[at]SPAM ECommunity at 1/18/2005 2:28:10 PM
At run time I want to alternate the images in a picture box dependant on
some code. Add created a folder called graphics in my Project and dragged
the images there. Now at run time what is there location\path when they are
embedded into the project.
Thanks,
Phil
... more >>
Key Generator/Software Licensing
Posted by Andrew Smith at 1/18/2005 2:13:47 PM
Hi,
does anybody know a good jumpstart for techniques to protect software with
license keys?
Thanks in advance
Andrew
--
Andrew Smith
... more >>
Dictionarybase property to bind to
Posted by Masa Ito at 1/18/2005 1:57:39 PM
I am binding objects that inherit from DictionaryBase (Sortedlist and
arraylist). I need to access the properties of these DictionaryEntry
objects, but I cannot seem to access them by Key & Value, as I would
expect. Strange, cause when I bind to a grid, the header shows Key and
Value, so I... more >>
Are most here using .NET 1.1?
Posted by Brett at 1/18/2005 1:53:00 PM
Are you using VS .NET 2003 and .NET 1.1?
If not, why and what are you using?
When is VS .NET 2005 to be released?
Thanks,
Brett
... more >>
using IsDate might cause performance problems?
Posted by z. f. at 1/18/2005 11:14:12 AM
Hi,
i see in reflector in inner implementation of the
Microsoft.VisualBasic.Information.IsDate function that looks like that:
public static bool IsDate(object Expression)
{
if (Expression != null)
{
if (Expression is DateTime)
{
retu... more >>
Project Naming, Design, Layout for a windows application
Posted by IT NO[at]SPAM ECommunity at 1/18/2005 11:05:31 AM
I looked thru the 7+ chapters and Microsoft seems vague. Bascially telling
you to design it so it makes sense. Duh.
Say I have an app that handles processes for the claims, finance and
membership departments.
First MSDN says the project should be.
C:\Projects\MYSystem\MYSolution\MYApp.
... more >>
How to set default printer?
Posted by Francisco Araujo at 1/18/2005 10:56:43 AM
Startup form
Posted by Morten Snedker at 1/18/2005 10:35:42 AM
When I run a VB-app it starts by running the initial form. How does it
know which form is the initial? Can it be changed - and if so, where?
/Snedker... more >>
problem with late binding (option strict on)
Posted by Dieter Schwerdtfeger via DotNetMonster.com at 1/18/2005 9:42:29 AM
I have this function where i search through my database for items that were made on a specific date. The line "CType(dvClubs.Item(teller).Item(veld).ToShortDateString" gives me the error : option strict on disallows late binding. I have read some posts here about late binding but I just can't figure... more >>
Barcode Scanner - Textbox - VB.NET
Posted by miss_kait NO[at]SPAM yahoo.com at 1/18/2005 8:38:34 AM
I would like to emulate the afterupdate event in vb.net after scanning
a barcode.
I have multiple barcodes to scan and after each scan I would like focus
to move to the next text box.
I have mainly stuck with the Key press/down/up events. The wedge
scanner is programmed for a 'return' keys... more >>
java ? ?
Posted by Mike at 1/18/2005 7:29:04 AM
I have a Java App that I want to convert to .NET, I know java is similiar to
C#, but is there anything out there to convert Java to VB.NET?
... more >>
Parse XML
Posted by Martin at 1/18/2005 6:33:59 AM
I'm looking for a VB snippet to return the names of the
sections in the XML below, can anyone help?
<configuration>
<configSections>
<sectionGroup name="GroupName">
<section name="SectionName1"/>
<section name="SectionName2"/>
</sectionGroup>
</configSections>
</... more >>
activex?
Posted by C Williams at 1/18/2005 3:41:28 AM
Hi,
I'm trying to build an object that I can drop onto a powerpoint slide
and then edit/customize. With old VB, I gather I could do something
like this by building an activex ocx.
How do I do such a thing with .NET?
Thanks!... more >>
problem with Dataview Rowfilter
Posted by Richard Bond at 1/18/2005 3:39:08 AM
Hi,
It appears that the rowfilter is not working correctly in the following
situation:
This is from my immediate window:
?ChkandBaseMeasView(6)("LowSampleCheck")
True {Boolean}
[Boolean]: True {Boolean}
ChkandBaseMeasView.RowFilter = "LowSampleCheck = True"
?ChkandBaseMeasView.count... more >>
Data Adapter select command
Posted by RBirney at 1/18/2005 2:31:09 AM
I am trying to set the 'select command' in the code rather than have it
permanently set. I am using an Oracle data adapter and connection (don't
know if this makes a difference) and i have the following in the code:
OracleDataAdapter1.SelectCommand.CommandText("select contract_no,
wo... more >>
|