all groups > vb.net > august 2004 > threads for friday august 6
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
Copy lines of a text file to an array
Posted by Jeroen at 8/6/2004 11:14:19 PM
Hi,
I am trying to get the lines of a text file into an array. Can anyone help
me with some code to do this in VB.net?
Greetings,
Jeroen
... more >>
running a query against a dataset
Posted by Adam Clark at 8/6/2004 9:31:53 PM
Hi
Is it possible to run a query against a dataset. For example, I want to
create a new table and I read somewhere that ADO.NET does not support
creating tables in access without the use of sql statements. Any examples
you could provide would be appreciated.
Thanks
Adam
... more >>
Runtime Memory
Posted by Mark at 8/6/2004 7:35:02 PM
Hello.
I have developed a custom webbrowser for my son with features like group
browsing etc. So far so good. The program works fine. But then, when I look
into the memory usage the programme is using tons of megabytes of memory.
With 10 pages open, the programme is consuming about 60 MB of me... more >>
Location of DLL
Posted by Atchoum at 8/6/2004 7:34:55 PM
This is probably a stupid newbie question but here we go.
I have a DLL which references another DLL. If I want to put this other DLL
in a subfolder of the folder where the main DLL is, how do I tell the main
DLL where to look for?
TIA.
... more >>
Cursor HotSpot
Posted by Lespaul36 at 8/6/2004 6:11:30 PM
I have a couple of custom cursors that I loaded as embeded resource and then
create a customcursor array. Is there a way to change the hotspot on the
cursors. I need one of them to be closer to the side.
... more >>
Copy unique values to new array
Posted by Joep at 8/6/2004 6:08:43 PM
Hi,
In VB.net I have an array which contains different values. For example:
array(0) = 2
array(1) = 2
array(2) = 2
array(3) = 3
array(4) = 3
array(5) = 6
array(6) = 6
array(7) = 4
array(8) = 4
array(9) = 4
I'd like to copy the unique values in this array to a new array, which
contains... more >>
isn't there a Marshal.WriteBoolean() function ?
Posted by Zoury at 8/6/2004 4:28:04 PM
Hi Folks! :O)
I need to stick a BOOL value into the System.Windows.Forms.Message.Result
member. (TRUE for instance..)
How can I get this done ?
I'd like to know the best way to do so for VB and for C#.. because something
it's different. <g>
--
Best Regards
Yanick Lefebvre
... more >>
Items order in menu
Posted by jlpraz NO[at]SPAM corobori.com at 8/6/2004 2:54:25 PM
Hi,
I have problem sorting my menu in alphabetical order in each language.
Look at this picture http://www.corobori.com/sos/picMenuOrder.jpg
What I would like is that the menu appear in alphabetical order in
French, Spanish, English
Jean-Luc
www.corobori.com... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error when updating dataset!
Posted by Lars Netzel at 8/6/2004 2:22:54 PM
Hi!
I'm deleting a row by filter it out from a dataview that is made from a
dataset table.
Use the DataView.Item(0).Row.Delete() method after it's filtered out and
then I delete it thru Update on the oledbadapter..
The Update methiod gives me this..
"Deleted row information cannot be a... more >>
Call Vb.Net Wes Service from ASP Can Be done!
Posted by BrianDH at 8/6/2004 2:19:52 PM
Group
Early this week I ask for examples on how to call a VB.NET Web Service and
access its DataSet for a traditional ASP page.
I was told, "you can't", "won't work", "not possible".
Well I have done it. I think what makes this group great is the passing of
information.
If you would ... more >>
"unbind" a datatable?
Posted by KC at 8/6/2004 2:15:15 PM
I want to remove or "unbind" a Datatable from a datagrid. Would I say,
dt.Container.Dispose()
where dt is the DataTable?
---
Ken
... more >>
callbacks in vb.net and c# using copyfileex
Posted by Paul at 8/6/2004 1:21:01 PM
I have been trying to code a callback in vb.net using the delegate method. I
have successfully compiled the program and run it but after it accessess the
copyfileex winapi method and then calls the callback method there are
problems. For one the data that is populated in the parameters is wron... more >>
Enumeration of Servers
Posted by JD at 8/6/2004 1:07:45 PM
I'm looking for a simple way to get a list of my server off of the network.
Primarily I'm looking for my SQLServers. In VB6 I'd use SQLDMO, but I was
looking for a pure .net solution. Anything?????... more >>
Weird Numeric problem in Grid!
Posted by Lars Netzel at 8/6/2004 12:34:09 PM
Hello!
I have a Cell in a datagrid (a text cell) that is loaded from the database.
The type in the databas on that field is "double" with 1 decimal.
I have a style added to the cell that has formatting string "### ##0.0" so
that it will always at least show a decimal with a 0 even though the... more >>
login form question
Posted by Agnes at 8/6/2004 12:12:47 PM
My login form will call a main form with menu
in my button_OK click event
>dim frmMain as new mainform
>frmMain.show()
>Me.dispose()
The login form didn't close by itself, Please help.. Thanks
... more >>
Need help with code.
Posted by Aaron at 8/6/2004 11:44:41 AM
I have a session variable populated with a name.
I also have a dropdownlist populated with several names.
I would like to select the name in the dropdown that matches the name in the
session variable.
I am trying :
'DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf(Session("Name"))
... more >>
Post Build Operations in VS.Net
Posted by Nice Chap at 8/6/2004 11:14:44 AM
We are using VB.Net, is it possible to hook a coomand as a post build
operation at all in VS.Net ?
... more >>
Working directly on the db?
Posted by Lars Netzel at 8/6/2004 11:14:39 AM
Is it possible to work directly in the db and in realtiem change values in
the database when user types into a textfield in my program?
The reason why I ask is tha tmy customer ABSOLUTLEY wants that.. although
I'm telling him it's better to have a save button and save every now and
then... but... more >>
Seeting mouseover event for all 20 buttons on a form
Posted by peter NO[at]SPAM mclinn.com at 8/6/2004 11:11:25 AM
instead of writing handles button.mouseover for every button on a
form, is there a way to default all buttons to one handler.
Button1
Button2
OnMouseOver handles all buttons...... more >>
Report library file
Posted by Brian Henry at 8/6/2004 10:59:59 AM
Is it possible to do this...
I want to make a DLL file full of reports done in crystal reports, but then
i want to get a listing of all the reports in the dll file (kind of an
available report listing) anyway to do this? thanks
... more >>
opening an instance of an Access database
Posted by Robert Smith at 8/6/2004 10:43:01 AM
Hello,
I wish to open an instance of an access database from within my
vb.net code
I have the following code
Dim ObjAccess as object
Dim strdbname as string = "c:\\reports.mdb"
In vb6 I would say
objAccess = Createobject(strdbname,"access.application")
How would I do this ... more >>
Whidbey Intro video--a few gripes about it and more
Posted by SStory at 8/6/2004 10:32:24 AM
I just saw an intro video on Whidbey Alpha from
http://www.learnvisualstudio.net/shortcut/0806c.htm.
I am sort of aggravated with Microsoft in that no one can ever become
proficient with your tools because you change them so much with each
version.
The demo said, ASP.NET now has code behind... more >>
Opening a Web Project
Posted by jennifer1970 NO[at]SPAM hotmail.com at 8/6/2004 10:32:03 AM
A long while back I made an ASP.Net application with VB.Net as the
code behind. It's been in MS Source Safe. I now have a new computer
and got the latest version downloaded from Source Safe on my new
computer. I'm trying open the project, which does not look to have an
..sln file associated w... more >>
Textboxes and Numbers
Posted by Michael Turner at 8/6/2004 10:28:00 AM
What is the easiest way to check if the key pressed in a textbox is numeric.
... more >>
VB.NET and CR.NET printing a report with out report viewer
Posted by Brian Henry at 8/6/2004 10:26:17 AM
Is there a way to print a report with out a report viewer loading? or do you
have to always run the report first then print it in the report viewer?
right now i am making a Crystal Reports document object and loading the
report into which also has a print method, but it has a bunch of parameters
... more >>
VB.Net Web app code Behind Question
Posted by BrianDH at 8/6/2004 10:15:33 AM
Hi
I have a vb.net web application. This app calls a web service (Code behind)
and is returned a dataset. Works great.
My question is: How can I write this dataset to the Body of the HTML (client
side) of the Web page?
We don't want it in a list or combo or label, we just wa... more >>
Button Class with a Mapped Image at design Time
Posted by peter NO[at]SPAM mclinn.com at 8/6/2004 9:51:03 AM
How do I create a button class that has an image(not background image)
mapped to it at design time.
IE. Button size 30x30 and Pic1 30x30 jpg
when I drop the control on the form the image is already set to the
pic1.jpg
-Peter... more >>
Disable inserting (newbie)
Posted by Adriano at 8/6/2004 9:49:34 AM
hello,
how do i hide the last row of DataGrid (the one for inserting new
data), so my users can't insert new data but only update and delete?
thanks in advance,
Adriano
... more >>
Datagrid question (newbie)
Posted by Adriano at 8/6/2004 9:43:12 AM
hello,
what's the way to hide the last row of DataGrid (the one for inserting new
data),
so my users can't insert newdata but only update and delete?
thanks in advance,
Adriano
... more >>
Discovering attributes of a object.
Posted by Chris Dunaway at 8/6/2004 9:31:56 AM
Consider the following simple class:
Class Test
Private _MyInteger As Integer
<Description("This is my personal integer value!"), _
Category("Personal")> _
Public Property MyInteger() As Integer
Get
Return _MyInteger
End Get
Set(ByVal... more >>
How to see data from form1 in module1
Posted by Terry Olsen at 8/6/2004 9:27:30 AM
I'm trying to make my app source easier to read & follow by breaking up
the code into modules. One module has the fileIO routines, another
module has the sockets routines, etc. However, I can't see any of the
data from the main form.
I need to send data entered into a textbox from form1 to a... more >>
view source
Posted by billy_cormic NO[at]SPAM hotmail.com at 8/6/2004 8:49:10 AM
Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?
Thanks,
Billy... more >>
Creating DLLs
Posted by Ed White at 8/6/2004 8:43:03 AM
I have VB .Net Standard Edition. Is it possible to create DLLs with that?
Essentially, I have subroutines that I use in different programs, and I would
like to reference them without having to copy them into each program. How do
I do this?
--
Ed... more >>
application testing
Posted by Stephen at 8/6/2004 8:32:18 AM
Hi,
I have developed my application using VS.NET and used project properties to
both IE and Netscape. I am testing my application on IE and Netscape.
The pages appear perfect on IE but totally messed up on Netscape.
can anyone please suggest me how to solve this problem?
Thanks,
Stephen
... more >>
listview focus problem
Posted by Matt Michael at 8/6/2004 8:16:17 AM
Hi,
I'm having a problem working with a listview in an application I'm writing.
Currently, whenever the selectedindex changed event fires, it loads up a
htmledit control, and other labels on the form, with the current information
associated with the listview item. The control is called HtmlEd... more >>
Querying a FoxPro DBC with VB.Net
Posted by SQLScott at 8/6/2004 7:47:03 AM
I have been looking all over for the answer to this question. The closest I
have come is reading the knowledge base article number 249718 but that is for
a much older version.
Can someone tell me how to query for a list of tables contained in a foxpro
DBC using VB.Net?
I have 90% of the... more >>
How to disable menuitem for textbox control built-in contextmenu.
Posted by Rulin Hong at 8/6/2004 7:19:02 AM
Menu "Paste" in textbox control's built-in contextmenu will be automaticaly
enabled while having text in clipboard. I want to disable the menu when text
in clipboard didn't meet my format.
I knew how to filter paste message in WndProc. But I think disable menu is
more sense.
Thanks for a... more >>
Using WebClient to get the actual file name.
Posted by scampi NO[at]SPAM lyingsackofshit.com at 8/6/2004 6:08:46 AM
Hi,
I've been working on an application to do some 'scraping' of web
content, using the WebClient class. I'm using code rather like the
following..
Dim objWebClient As New WebClient
Dim strURL As String = CType(URL, String)
Dim aRequestedHTML() As Byte
Dim objUTF8 As New UTF8Encoding... more >>
Q: Problem Deploying vb.net Application
Posted by s2k888 NO[at]SPAM s2k.com at 8/6/2004 5:21:08 AM
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database.
The application works fine on the machine with the development environment (Windows 2K) but I am unable to get it to work on two other machines (Windows XP machines). When I... more >>
web.config file error
Posted by IGotYourDotNet at 8/6/2004 5:05:01 AM
I have a web service and i want it to read the web.confg file for my
database connection.
I keep getting an error on
conn.ConnectionString = ConfigurationSettings.AppSettings("DB")
it says Name ConfigurationSettings is not declared. this is the same line of
code i've taken from my asp.n... more >>
Any FREE flowcharting components?
Posted by Lucas Tam at 8/6/2004 4:36:28 AM
I found a bunch of commercial flow charting/diagraming components... but
are there any free ones?
Thanks!
--
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/... more >>
VB .NET Standard and user controls
Posted by Clark Stevens at 8/6/2004 3:34:20 AM
I have VB.NET Standard. Is it possible to compile a user control as a DLL
for use in multiple projects/solutions? I have a user control which
inherrits from Listbox. I wish to use this user control in several
different WinForms projects. What's the best way to do this using VB.NET
Standard? ... more >>
TreeView and Active Directory
Posted by Phil Kelly at 8/6/2004 1:45:02 AM
Hi all!
Can someone tell me how to use a treeview control to list contents of Active
Directory. Ideally, I would like to list only users and contacts.
I know that a long time ago, I saw a tutorial on the subject but can't seem
to find it nowadays!
Thanks for your help!
Phil
--
Phi... more >>
Namespace Management
Posted by Don Wash at 8/6/2004 12:55:07 AM
Hi There!
I just need some advice on Namespace management for creating reusable VB.NET
applications.
I would like my applications to have this namespace structure...
Namespace MyCompany
Namespace MyApplication1
Namespace Module1
End Namespace
End Namespa... more >>
|