all groups > vb.net > january 2004 > threads for tuesday january 27
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
How to use DSN connection here.....
Posted by Bob Scoze at 1/27/2004 11:36:48 PM
I am using VB.Net and ADO.Net.
My code to open Access database is as follows.
dim dbConnection as string ="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\db1.mdb;"
dim myDBConnection as OLEDBConnection = New OleDbConnection(dbConnection)
myDBConnection.Open()
this code works fine.
M... more >>
image processing in VB.Net
Posted by Dave at 1/27/2004 11:28:48 PM
Hi,
I am a newbie to .Net (learning to do ASP using VB)
Does anyone know where I can find an example of image processing in VB.Net?
Specifically, I would like to see an example of resizing a jpeg image with a
specified compression/quality.
I know there are 3rd party tools out there, but resam... more >>
Byte array to string without character conversion?
Posted by Kasper Hansen at 1/27/2004 9:14:56 PM
I need to search through a binary file to find a specific string and then
replace it with another string. However the
System.Text.Encoding.ASCII.GetString method i originally used seems to do
some character conversion. I also tried using UTF7-8 and Unicode
conversions, but the output is still co... more >>
VB .NET changing my code!!
Posted by jy836 at 1/27/2004 8:20:13 PM
I was using VB .NET, working on my database application. After running it
successfully, I decided to take a little break. So I closed Visual Studio (I
saved all files, of course), and when I opened my solution later, the
application had several bugs which hadn't been there earlier.
I had to ma... more >>
After "File Field" is on Webform2.aspx, how do I upload it?
Posted by Trint Smith at 1/27/2004 7:33:50 PM
I have a file field on Webform2.aspx and it works (as far as browsing
and getting file and path). What do I do next to get the file to
upload?
Thanks,
Trint
.Net programmer
trintsmith@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENE... more >>
conversion of proj from Vb to .NET
Posted by Amka at 1/27/2004 7:03:56 PM
Hi
I have a project which I converted from Vb to Vb.NEt
But the system is running extremely slow. I have Intel PIII Processor , 256
MB RAM. Plz let me know if tehre is anything I can do to enhance the
performance of my system.
I know from MSDN that vs.net can run on p-II even, then why is... more >>
Capturing std out from a process
Posted by dontspammenow NO[at]SPAM yahoo.com at 1/27/2004 5:36:28 PM
Hi.
Running an app with System.Diagnostics.Process process with:
Sample code:
myproc = New System.Diagnostics.Process()
strPgm = "myapp.exe"
strArgs = ""
myproc.StartInfo = New
System.Diagnostics.ProcessStartInfo(strPgm, strArgs)
... more >>
ComboBox in DataGrid
Posted by Merlin at 1/27/2004 5:30:19 PM
Hello All,
I have a prob, i have a Access Datatbase with 4 Feilds.
Feild3 in Table1 is a Lookup to Feild2 in Table2, how do i get a combobox in
my datagrid to look at Feild2 in Table2?
Well more to the point how do i get a combobox to start with?
Also how would i bind my Standered Combo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I add intellisense comments to my VB.Net Classes Method and properties?
Posted by Steve Mauldin at 1/27/2004 5:21:54 PM
How do I add intellisense comments to my VB.Net Classes Method and
properties? I have found several examples in C# on the web but when I
try and convert them into VB.Net I get errors. Specifically I have tried
setting a description attribute with no sucess. Any help would be greatly
appreci... more >>
Can't open Oracle Database connection.
Posted by Rvo at 1/27/2004 5:05:28 PM
Hi all,
I have the following lines of code to access an Oracle Database:
'Imports System.Data.OracleClient
.....
'Dim myConnectionString As String = "Data Source=<databasename>;integrated
security=false;User ID=<theUser>; Password=<thePassword>"
'Dim myConnection As New OracleConnection(... more >>
resume and seek operation during file download
Posted by Vikramaditya Singh at 1/27/2004 5:01:58 PM
i am downloading a file using httpreponse. Now i want to make a
multithreaded app which will create 3 or more threads for downloading the
file. For this i want to pass different start position to read forn the
reponse object stream to the thread. But i am unable to change the read
position of ht... more >>
lookup table using combobox
Posted by jaYPee at 1/27/2004 4:15:22 PM
i have successfully added a combobox control in datagrid. this is the
code i have created but don't show up the record from another table.
Private Sub AddCustomDataTableStyle()
Dim ts1 As DataGridTableStyle
ts1 = New DataGridTableStyle()
ts1.Mappi... more >>
Discrepencies between .Net and TSQL
Posted by Jayson at 1/27/2004 4:01:10 PM
i've noticed some strange behavior in .net when it comes to figuring out the previous month via code. this only happens when the month is january, and i know why it's happening, i just don't understand why this issue isn't addressed by .net. we have reports that get run on previous month's data, s... more >>
serialize class to the viewstate
Posted by Craig Buchanan at 1/27/2004 3:47:32 PM
I am trying to serialize a class called Order to the ViewState. Order has
one property called LineItems, which is an ArrayList. The ArrayList holds
instances of a class named LineItem. Bother Order and LineItem are marked
with the <Serializable> attribute.
When I attempt to serialize the cl... more >>
imagelist problem...
Posted by Roger at 1/27/2004 3:45:42 PM
Hi,
I noticed a very strange problem:
I made a new Winforms project, added two regular buttons, one imagelist, and
added one .png image to this list.
If I make button A's Image property point [directely] to this imagefile, it
appears on the button and looks great.
If I make button B's ... more >>
Viewing and Printing a .txt file from a WinForm
Posted by Tim Smith at 1/27/2004 3:41:54 PM
Hello-
I have an application that opens a .txt file and displays
the data in a richtextbox using the .LoadFile method.
This all works, but here is my problem(s):
When the .txt document is loaded into the richtextbox, it
messes up the format (columns) versus opening the file
directly i... more >>
Processing bitmaps
Posted by John Dann at 1/27/2004 3:07:25 PM
One of my prospective projects calls for a procedure able to iterate
through and evaluate the colour value of each single pixel in a
bitmap. In other words, I guess I'd like to map the bitmap pixels to a
byte array and prcoess that array. But I understand that there may be
complications to doing... more >>
Get All Mouse Events
Posted by Mike Bulava at 1/27/2004 2:41:39 PM
I know this has to be something stupid I'm forgetting. Any time a mouse
button is clicked (any mouse button) I want get all the information about
where the Pointer is, what button was clicked, etc even if it not over a
form my app created. How can I do this. Like I said I know this is simple
... more >>
Can't see structure data members from other classes
Posted by STom at 1/27/2004 2:03:29 PM
I have a class declare like this:
<Serializable>Public Class Talk
Public Structure _localTalk
Public _iTalkNumber as Integer
End structure
End Class
I can see the structure from other classes, but I cannot see the internal
data member. I've also tried setting the internal data member t... more >>
Zip file length ?
Posted by Masahiro Ito at 1/27/2004 1:30:32 PM
Use ICSharpCode.SharpZipLib
Can view files in zip library. Files are being created the wrong size when
unzipped. Sample code I found in this newsgroup. I thought I could change
from s.length to onefile.size, but that doesn't work. Any idea?
Thanks.
Dim zipfile As New ICSharpCode.Sha... more >>
Convert exposent number to double
Posted by facicad at 1/27/2004 1:21:46 PM
How to convert number 0.17e-7 to 0.0000017
... more >>
class object current dir
Posted by ron_tran NO[at]SPAM hotmail.com at 1/27/2004 1:06:30 PM
Does anyone know how to find out the current directory of a class.
My business object is using a Microsoft Access backend and I have to
hard code the path of my connectionstring.
Thanks.... more >>
Large solutions .NET language choice
Posted by Da~One at 1/27/2004 1:06:11 PM
This message has been posted to 2 groups, one to the VB.NET group, and the
other to C#.
I am trying to decide which language to commit to for a large scale project.
I am looking for the input of people who have gone through this process
before.
I am currently leaning towards C# solely becau... more >>
VB.Net control that will let you select just a month?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/27/2004 1:00:42 PM
Is there a control that I can put on a Form that would let a user
select just the month value? I tried to find a way to make the
DateTimePicker or the Month Calendar do what I want but I can't. I
want a way for the user to say "Let me see what is in the database
for the month of January 2004.... more >>
Generating xml schema for a stored procedure
Posted by Noor at 1/27/2004 12:59:19 PM
Hi all
I need to generate xml schmea for a stored procedures to use with crystal
reports
tell me any quick and easy method.
thanks
Noor
... more >>
When is Finalize() called?
Posted by Charles Law at 1/27/2004 12:23:14 PM
I have an application that creates a class. The class has unmanaged
resources, so must end gracefully.
How can I guarantee that the unmanaged resources are freed?
I have looked at IDisposable, but this seems to rely on a call from the
application, e.g.
MyClass.Dispose()
and I don't wis... more >>
For Each issue w/ NameObjectCollectionBase
Posted by Craig Buchanan at 1/27/2004 12:15:23 PM
I have a class that inherits NameObjectCollectionBase called Products. In
the class' constructor, I add items using BaseAdd(key,value), where key is a
string representation of an id and value an instance of another class called
Product. For example:
Me.BaseAdd(Id,New Product(Id, Name, Price)... more >>
Distributed Tier-ed System.
Posted by Alex Stevens at 1/27/2004 11:52:25 AM
Hi All,
I firstly apologies if the subject of my post is off-beam (likely!).
I understand the principles of tiered applications and I've written an
application as such.
I have:
An SQL database
A data layer which provides database connectivity
A Business Object Layer, which for example p... more >>
Controling an External Dialog Box
Posted by Chad Nauojks at 1/27/2004 11:50:51 AM
I have a dialog box that comes up during an automation process (automating
an external application). I need to be able to automate the interaction on
this dialog box.
The dialog box is a save as dialog that comes up when a file is chosen to be
downloaded from a site. I can't do a direct down... more >>
Graphics Tool Preference
Posted by Brad Markisohn at 1/27/2004 11:45:40 AM
I've been working with the free versions of Dundas Chart and ChartFX Lite
for VB.Net application development. Now I need to buy one of these to
access the features that aren't supported by the free versions.. While
there are differences in IDE they seem to be similar in features. Does
anybody... more >>
Get metafile from clipboard object
Posted by George Yefchak at 1/27/2004 11:30:03 AM
Hi
I need to retrieve a metafile image from the clipboard and render it as a
bitmap in my application. In particular, an image will be placed on the
clipboard by pasting from PowerPoint (I really do need to do this!). The
original image is a bitmap, but PowerPoint doesn't place it on the cli... more >>
A desperate help in Update
Posted by sajid_yusuf NO[at]SPAM yahoo.com at 1/27/2004 11:18:46 AM
Hello! Experts,
I have the following piece of code in VB.NET that I want to use to
update any records in the database. I would like to use a code as well
as DataGrid to update the records. Please guide me how can I achieve
it. I know there is an Update command to to do this that but since I
a... more >>
Help with RegExp
Posted by Chris Dunaway at 1/27/2004 11:08:26 AM
I have a string: 555-1234,12345,"Jones, John"
I want to split the string based on a comma as a delimiter. Since the name
portion has a comma and is delimited with quotation marks, I need to ignore
or strip them out. I also want to reverse the last and first names so that
"Jones, John" becom... more >>
getting size of file in bytes
Posted by Vikramaditya Singh at 1/27/2004 11:00:18 AM
i want to download a file using HttpWebResponse object from a web server.
But before starting download i want to find out total size of that file in
bytes. How can i do that.
Vikram
... more >>
VB6 to Vb.net
Posted by Pankaj at 1/27/2004 10:44:07 AM
Hi All.
I have to build an application in VB6 ...which after some time needs to be
migrated to VB.net
I was wondering what guidelines should I follow so that migration to VB.net
is not too painful ?
Please provide any good URLs etc. if you have on this topic.
-Thanks
Pankaj
... more >>
File I.O in a windows service
Posted by BA Baracus at 1/27/2004 10:41:07 AM
Hi all
I am writing a windows service in VB.net that i would like to push out an xml file at a scheduled time. I have done this before in windows/console applications successfully. I have ran into a problem when i declare a new IO.Filestream variable in the windows service. It seems like my ser... more >>
Please Tell me what Am I doing wrong... Please
Posted by Franco, Gustavo at 1/27/2004 10:18:54 AM
Hi, I have a question, and please I need a answer.
How can I finalize a thread running with Application.Run (I need the message
loop!!!) without call Thread.Abort?.
I want to call Application.ExitThread in the same thread that it is running.
So, This is my example and I don't know ... more >>
Update a dataset bound to a grid
Posted by Geraldine Hobley at 1/27/2004 9:46:07 AM
Hello,
I have a problem whereby I wish to update a dataset bound to a datagrid without the user having to click on the next row of the grid to initiate an update.
I have the following event code for my grid
Private Sub dgMyDatagrid_CurrentCellChanged(ByVal sender As Object, ByVal e As... more >>
translate C# to VB
Posted by Craig Buchanan at 1/27/2004 9:27:50 AM
if i have a class that is declared
public abstract class Hashlist : IDictionary, IEnumerable
{
....}
how do i translate the following (method?) into vb?
IEnumerator IEnumerable.GetEnumerator()
{
return m_oValues.GetEnumerator();
}
thanks,
Craig Buchanan
... more >>
voice chat
Posted by MrMind_15 NO[at]SPAM Hotmail.com at 1/27/2004 9:15:01 AM
is there any way to record the voice and convert it in byte or in
other words I want any idea or a sample regarding voice messenger.
Any idea will be highly appreciated.
Thanx.... more >>
Weird Error...
Posted by mrpolitics at 1/27/2004 9:10:17 AM
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd)
and everything was fine untill yesterday when the server crashed. So I did
a cold restart and staretd the server back up now it's throwing this stream
of errors right away. DOes anyone have any idea what they mean. I havn... more >>
validating an email address from server
Posted by sebastien.chesney NO[at]SPAM socgen.com at 1/27/2004 8:57:57 AM
Hi,
I would like to validate email addresses.
I am not interested to validate it with a regex expression but from
the email server where the addresses are.
I would like to query this server and know if the address is valid or
not.
Thank you for your help.... more >>
bind data to txtbox from dataset?
Posted by Rich at 1/27/2004 8:05:50 AM
Hello,
I am having a problem showing data in a form textbox which
is bound to a column in a table in a dataset. I have
successfully established a connection to an Access mdb,
successfully created the oledbadapter and successfully
created the dataset object. The table in the mdb is
tbl... more >>
How can I make a "directory browser" on a web form?
Posted by Trint Smith at 1/27/2004 7:57:09 AM
I have a page that needs to brows the local computer and be able to
upload a file to my site...I have used the "help" in vs.net and the
"openfiledialog" gives me a server error page every time...that may not
be for the internet, I don't know...help is appreciated.
Thanks,
Trint
..Net program... more >>
Whole Numbers
Posted by Will at 1/27/2004 7:56:06 AM
Hey guys
Quick question: how do i find out if the remainder of 4 divided by 2 is a whole number ?
NEED CODE PLEAS
THANX IN ADVANCE... more >>
Option Strict On related problem.
Posted by Jorge Cavalheiro at 1/27/2004 7:33:09 AM
Hello
After reading yesterday's thread on performance of C# and=20
vb.net i've just turn it on my solution and spent 2 hours=20
correcting the errors :)
I have a problem i don't how to fix i have a class that=20
export data to a Excel Workbook.=20
I get 2 types of errors : Option Strict On d... more >>
autocomplete?
Posted by Jarod_24 at 1/27/2004 7:06:26 AM
The "Run program" dialog and the Internet explorer adress bar got the
autocomplete effect, where what you type is matched against previous visited
adresses.
Anybody know how can i create a textbox/listbox that will have this effect
in my own program?
... more >>
Splash Screen
Posted by freddy at 1/27/2004 6:46:10 AM
I want my app to load a splash screen first than the app. I want this very simple please ( new to vb.net)... more >>
How to change dll version
Posted by Li Pang at 1/27/2004 5:01:06 AM
Hi
I built an app of one .exe and several .dlls. I'd like to know how to force to change the version of dll everythime I rebuild the app
Thank
... more >>
vb.net data adapters - concurrency and insert comands
Posted by sjamesNO_SPAM NO[at]SPAM mhapensions.com at 1/27/2004 4:17:12 AM
Hi All
I'm having problems getting my data adapter to throw a concurrency
exception with an INSERT command. I want to throw a concurrency
exception if an attempt is made to enter a row into tb_table when a
row with the same int_UID already exists in there.
Here is my stored procedure:
if... more >>
Speech API
Posted by MrMind_15 NO[at]SPAM Hotmail.com at 1/27/2004 3:07:37 AM
DirectSS API - Microsoft Direct Text to speech API is not rounning in
VS.NET 2003. Does any body know y? although it was running in VS.NET
2002 but in VS.NET 2003 it is not running. Is this a bug of VS.NET
2003?
Any answer will highly be appreciated.
Thanx.... more >>
vb .net and java
Posted by tontorin at 1/27/2004 2:41:04 AM
Everyone,
I have java classes and need to call it from vb .net. any suggestion?
Thanks.... more >>
Variable length scrolling <div> or <iframe>?
Posted by Jim M at 1/27/2004 2:00:52 AM
I have had great success with using <iframe> with overflow-y set to auto. I
can get a similar look with the <iframe> tag.
BUT... In all cases I need to have fixed heights. Is there a way to put
either tag inside an HTML <TD> and have the same kind of scrolling effect.
This would allow me ... more >>
Loading a file into a TextBox
Posted by MSDousti NO[at]SPAM myrealbox.com at 1/27/2004 12:22:01 AM
Hi
How can I load a text file into a TextBox?
I have used System.Text.StringBuilder for fast loading. This method
works fine under windows XP, but it does not work in windows 98.
Any idea is appreciated.
thnx in advance.... more >>
|