all groups > dotnet general > july 2004
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
Motherboard, hard drive, NIC Serial Number?
Posted by Job Lot at 7/31/2004 6:43:03 PM
How can I retrieve the Motherboard, hard drive, NIC Serial Number Using vb.net.
thanx ... more >>
Criteria Expression in vb.net
Posted by DLenee NO[at]SPAM aol.com.com.(donotspam) at 7/31/2004 5:59:02 PM
I am trying to create a parameterized query and it keeps giving me an error "Datatype error in expression" when I enter = @ChildID or =?ChildID. The ? is supposed to be the wildcard for Access SQL.
I am using an Access database that uses an autonumber field as the primary key for a table. The... more >>
Is VS.net the tool I need?
Posted by Coffee guy at 7/31/2004 3:41:01 PM
I need to develop an eCommerce site (shopping cart, secure, etc) for our company. Will .net do this? I see a lot of chatter about creating websites but little about secure sites that can process credit cards, interact with shipping calculators, etc. What I really need is a template like VS/MFC pr... more >>
Assembly Resources
Posted by Brandon Bloom at 7/31/2004 12:57:01 PM
I am developing a small game in my spare time using .NET. I am curious about using assembly resources as the storage location for my game assets. It seems natural to embed models, textures, sounds, and other assets into the same assembly as the class that governs them. Would this be efficent? Where ... more >>
how do i write checkbox to....
Posted by Supra at 7/31/2004 10:21:09 AM
how do i write checkbox1 boolean to xml
in vb6 i can only do cstr( checkbox1.value) but in vb.net can't write
to xml. i am doing irc chat similar to mirc or pirch chat.
rw.WriteConfigInfo("User Modes", chkInvisible.Text,
chkInvisible.Checked, "PirateChat.xml")
in procedure events:
... more >>
Data sharing between applications
Posted by Tom Q at 7/31/2004 1:02:41 AM
A user has multiple applications running on his/her PC and I want to create
a broker component or service that is shared among the multiple apps. Each
time an application changes a record it notifies the broker and the broker
in turn notifies the other applications so they can take appropriate
... more >>
Array length = 100 should be from 0 to 99 ?
Posted by User at 7/30/2004 7:17:39 PM
Hi,
This is very basic, It may be a repost, if so I'm sorry.
The problem is that this declaration :
Private strMyArray(100) As String
will create an array of string with a length of 101, but the length
should be only of 100 (0 to 99).
Is there a setting in VB.NET to enable arra... more >>
Having trouble using regsvcs.exe
Posted by moondaddy at 7/30/2004 4:49:41 PM
I'm running vb.net 1.1 and I need to register a dll using regsvcs.exe and am
getting the error:
Command "RegSvcs.exe" is not valid.
the path to the dll I want to register is:
D:\nwis\Apps\CSLA
1.0\csla\CSLA.Server.ServicedDataPortal\bin\CSLA.Server.ServicedDataPortal.d
ll
and I've tried... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Allocating memory in a .NET C++ DLL
Posted by Scott at 7/30/2004 2:15:06 PM
I've created a .NET DLL using Visual Studio 2003 which will be referenced by a C# program. I'm able to link the two together just fine now and make calls. The problem is I need the DLL to allocate memory and pass it back to the C# program.
I can't see to use either new or malloc inside that DLL... more >>
Learning .NET (expensive software)
Posted by kneejerkreaction at 7/30/2004 11:17:02 AM
I'm seeking advice on learning .NET
I have experience in ASP, HTML, Vb, Vbscript and Javascript but want to learn .NET I also have some experience with SQL Server and Oracle databases.
My employer thinks even with the previous experience noted above, I am incapable of picking up .NET (they are h... more >>
Function Return inside Store Procedure
Posted by Daniel Caetano at 7/30/2004 10:04:58 AM
Hi all, i have a store procedure that i use the return function . Ex.
create procedute XX as
(statement...)
if @@error <> 0
return 1
else
return 0 .
Inside the vb net i wnat to call that procedure and retrieve that value
returned. I´m using command. Is that possible? How can i do ... more >>
component for oracle 8i is where ?
Posted by Lee Holsenbeck at 7/30/2004 9:07:02 AM
hi,
we run oracle here and i need the oracle component, so that I can use the oracleclient namespace. any ideas where it is ?... more >>
How to get user information from Active Directory?
Posted by DotNetJunkies User at 7/30/2004 8:23:21 AM
Does anyone know how to get the user information such as Name, Address, Email, Phone Number, etc from Windows Active Directory? The samples I have seen so far don’t get the User Address, Email, or Phone Number! Thanks.
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://w... more >>
Capture WebCam image in ASP.NET Web page
Posted by dan_williams NO[at]SPAM newcross-nursing.com at 7/30/2004 7:16:52 AM
Can anyone point me in the direction of how i go about creating an
ASP.NET page that i could use to capture a web cam still image?
We need to be able to take staff photos for their ID badges, but we
need to be able to specify the resolution of the webcam image to
portrait size (ie. 200x300).
... more >>
.Net Trial
Posted by Mueller at 7/30/2004 5:23:02 AM
I ordered a .Net trial and it came yesterday. I put in CD 1 ran the Prerequisites CD, then started to install .Net. It got aobut 25% done, then stated there was an exception error. I then proceeded to disable all my antivirus software along with some apps that were in my startup. I also tried a... more >>
vb.net mdi parent - child forms problem
Posted by jinu at 7/30/2004 4:49:01 AM
Hello,
My application loads with a form which is the mdi parent and a menu item click (main menu of the parent form) brings up a child form.
I have to wait for a considerable amout of time to execute an oracle procedure which has to be invoked from the above said child form.
The problem now i... more >>
MS Development Environment
Posted by Arun at 7/30/2004 4:41:35 AM
yesterday when started my devenv it flashes a message MS
Developement Environment is not available contact your
system administrator, and when i started todays it just
flashes on the screen and disapears what was the reasion.
My os - windows 2000 server
with service pack 4
and i use ad... more >>
use .net dll in vb6
Posted by Christophe Schillemans at 7/30/2004 2:53:01 AM
Hello,
We made a DLL (not with .net, but with the ProxyGen of OpenEdge10) and used it in a .net application. Everything worked fine.
Problem is that the clients are working with asp 3.0.
On a clean pc, we installed vb6 SP6 and the .net framework, used RegAsm to register the dll and create the ... more >>
Executing a VB Script file from VB.net
Posted by J. Kingsley at 7/30/2004 12:17:01 AM
I am loading XML data into a SQL Server database using SQLXML with bulkload. I use a VB script file to perorm the load with the map schemas and the XML files. To do the load manually, you just double click on the VB script file which lies in a directory on the hard drive. Now I want to execute this ... more >>
trying to login into https web site via <WhatEverWorks>.net
Posted by gill_bates NO[at]SPAM hotmail.com at 7/29/2004 10:21:45 PM
I'm trying to login to a banking site
(https://www.providentconnection.com) using vb.net. I've tried many
variations of WebClient and HttpWebRequest; none of which I've got to
work. My latest version is:
Dim myWebClient As New WebClient
Dim nvc As New NameValueCollection
nvc.Add("Log... more >>
TcpClient Socket Blocking Problems
Posted by Christopher H. Laco at 7/29/2004 10:19:34 PM
I'm having a problem with the TcpClient that I can only conclude is
either a feature, or a complete misunderstanding of the docs on my part.
In a nutshell, I'm simply performing the following sequence with a server:
connect
write(50 bytes)
read(2002 bytes)
write(50 bytes)
read(2... more >>
An exception "System.Security.SecurityException" has occurred!
Posted by Seeheng at 7/29/2004 9:05:02 PM
I've created a VB.Net program running perfectly under local hard drive. But when move it to a network path (both UNC name and drive mapping tested), it gave "An exception 'System.Security.SecurityException' has occurred".
Anybody has any idea to resolve this issue?
Appreciate any advise.... more >>
Gradual Application Conversion
Posted by Chris Brown at 7/29/2004 5:59:45 PM
Hello,
I work for a company that sells a product with a VFP frontend/MSSQL backend,
and we have become aware for many reasons the we need to switch over to
..net. The problem is that our application is huge, and a flatout conversion
would take several years, during which time our core product w... more >>
Is this a viable design idea?
Posted by Tosch at 7/29/2004 5:34:35 PM
I have an order processing application with many features.
I want to be able to put some features in external and configureable
DLLs.
The main application has to pass an order object (and possibly some
other objects) to the external dll.
I have designed a base class with just interfaces on w... more >>
ASP.NET Image Resizing and returning in Response.OutputStream
Posted by Neil Woodvine at 7/29/2004 5:18:19 PM
***Scenario ...
I have a DataList with a hyperlink WebControl in the Item Template.
I want to display a 64x64 image in the Hyperlink and set the NavigateURL to
the full size image.
***Source Data Item for Databinding is a class with 2 props ...
URL
Description
***MyMainPage.aspx Page_Lo... more >>
How to pool on socket ?
Posted by User at 7/29/2004 5:10:33 PM
Hi,
How do I pool my socket to see if there is any message pending?
I don't want to use timers because they are multithreaded and it break
the linearity of my messages. (incoming message are numbered and it is
important to keep the order)
Can I add a handler to the socket? So it could r... more >>
Connecting to a DataBase like i did in VB 6
Posted by Chris at 7/29/2004 3:28:48 PM
Hi all,
I wrote a cool little database program a while back, in VB6, and im
intending to rewrite it in .net.
I am new(ish) to .net, but an old hand at VB5/6.
In VB i would access the mdb file something like this.
set db=database
set db=opendatabase("mydb.mdb")
dim rec as recordset
se... more >>
web....
Posted by Supra at 7/29/2004 2:38:36 PM
i added image control to web form....but how do i add picture to image
control?
regards,
... more >>
Saving html web pages to io streams
Posted by MC at 7/29/2004 2:13:11 PM
How can we save entire html web pages to io streams, including picture files (jpeg, gif, etc.) and other linked files if any.
We need to be able to save to disk entire html pages, not just their links.
Thanks in advance.
--
M. Castellanos... more >>
MSOLAP and sharepoint custom web part
Posted by repalley at 7/29/2004 2:13:09 PM
hello guys,
can we use MSOLAP in sharepoint custom web part
actually i tried to but it is throwing exception :- security exception
i dont know how to resolve this thing and there is no help on the internet.
if anyone know how to do this please let me know
advance thanks
... more >>
system error when writing to xml............
Posted by Supra at 7/29/2004 1:01:21 PM
i got "system error" when saving to xml file.
i am using checkbox1 control to xml. when user clicked checkbox and set
to true and press btnOk to conform and save it to xml
rw.WriteConfigInfo("User Modes", chkInvisible.Text,
chkInvisible.Checked, "PirateChat.xml")
the error occured i... more >>
convert a char[] to an object[] and back
Posted by junkmale48 NO[at]SPAM hotmail.com at 7/29/2004 12:11:28 PM
I am trying to write a routine to do a generic operation on an array
dostuff(object []). But I have come across a problem. If I use a value
type array I cannot cast it to an object[]. Is there some way of doing
this? I guess you would have to box all the values in the array
individually seems l... more >>
Copying tables between datasets
Posted by Michael Albanese at 7/29/2004 12:09:08 PM
How can I copy a table from one dataset to another in ASP.Net (using VB)... more >>
Email from ASP.Net
Posted by Mike Moore at 7/29/2004 12:05:11 PM
What is the best way to launch outlook from an asp.net web page? Can you do this using MAPI or is there a control that you can purchase? We are unable to use SMTP. We use MS Exhange and MAPI currently for our client/server apps.... more >>
Execute Javascript From Buttons Inside Datagrid
Posted by Jon at 7/29/2004 12:03:06 PM
Hello,
I have a datagrid and the data in it is dynamically created at runtime...
For iCounter = 0 To dataset.Tables(0).Columns.Count - 1
Dim objbc As New BoundColumn()
With objbc
.DataField = dsAllPastReplies.Tables(0).Columns(... more >>
Invoking a command line .exe program
Posted by Simon Harvey at 7/29/2004 11:46:07 AM
Hi,
I have a simple .exe application that I need to invoke from my C#
application. I need to send it two strings and then get the result back.
Can anyone advise me on how this is done?
Also, I'm currently using a windows forms application but I would like to
use an ASP.net appliocation to... more >>
.NET Control in ASP Page
Posted by Atul at 7/29/2004 10:02:01 AM
Hi All,
I wanted to know if its possible to embed .NET User Control in an ASP Page.
Thanks,
Atul... more >>
Deployment question
Posted by Greg Smith at 7/29/2004 9:13:41 AM
Hi, I have a Windows application that is installed on over 100 PCs. It is
being installed by the "Setup and msi" method. I am constantly being asked
to add features to the application and users/support have to
uninstall/reinstall for people to get it. Is there a better way to handle
this so u... more >>
Will MS support snap-in development in C# with VS2005
Posted by suchirsen NO[at]SPAM yahoo.com at 7/29/2004 7:20:03 AM
Hi,
Does anyone have an idea if MS will support MMC snap-in development in
the managed env in VS2005( proper development and not the COM interop
solution )? whatever preview of VS 2005 that is available on the MS
site does not mention anything whether they'll support this.
Thanks in advance..... more >>
Two vb.net questions
Posted by jmarzion NO[at]SPAM yahoo.com at 7/29/2004 6:10:01 AM
Having spent many years working with VB 4.0 I've recently purchased
VB.net. At this early point I have two questions.
1) How can I QUICKLY view the code associated with a specific control?
If I right-click on the control, let's say a combo box, and select "View
Code" it seems to take me back ... more >>
System design: management of server side application threads
Posted by timasmith NO[at]SPAM hotmail.com at 7/29/2004 3:47:31 AM
Hi,
I have a system which comprises of a number of server side application
and services. There is a thread per service or application and some
threads may also create their own application threads.
ServerApplication.exe
----------Controller Thread
... more >>
Condition on Container.DataItem in inline code
Posted by azbij NO[at]SPAM hotmail.com at 7/29/2004 3:46:13 AM
Hi,
I have a dataset bound to a repeater and want to place some logic in
my ascx file. I want to display an image link if and only if an image
is available.
I have tried without success variations of:
<%#if(DataBinder.Eval(Container.DataItem,"ImageFilename"!="")){%>
<a href="#"><im... more >>
"Registration Key" for client application
Posted by Job Lot at 7/28/2004 9:01:02 PM
Could someone provide some help or tips on creating “Registration Key†for client application?
I am designing an application in VB.Net which will be distributed to our clients. I want my clients to provide “Registration Key†when they first install the application. Further, I want this â... more >>
what in for vb.net....
Posted by Supra at 7/28/2004 8:40:02 PM
in vb 6:
listbox1.listcount
listbox1.listindex
checkbox1.value =1
but what in vb.net?
regards
... more >>
Checking to see if .NET FrameWork is installed
Posted by Daniel Jeffrey at 7/28/2004 6:26:12 PM
This may be a stupid question.
But is there anyway in C# app to detect if FrameWork is installed and if not
provide a message to the user?
Right now it just crashes. No error that describes why.
I am guessing it isn't possible.
Thanks in advance.
Daniel
... more >>
Perform dynamic calculations in DataGrid.
Posted by Job Lot at 7/28/2004 6:02:01 PM
I have to create a loan (Line of Credit) tracker application, where users can analyse their loan over a term. They can make changes to monthly entries to see how long it would take them to pay of the loan.
At present users are given an Excel spreadsheet with embedded formulas which calculates mo... more >>
databinding issue in 1.1 fwk
Posted by Dotnet Newbie at 7/28/2004 5:26:00 PM
Hi all,
I am working on .NET framework 1.1
While binding data to our master table in the database, we are using this
System.Data.Relatedview class. But the issue is, it does not appropriately
update data. The databinding is failing too.
I traced down the issue to this particular class by ma... more >>
The VisualStudio IDE hangs with 'Initializing offline cache'
Posted by Thiago Campos Pereira at 7/28/2004 4:59:46 PM
HI,
The IDE hangs with 'Initializing offline cache' during attempt to create a
Web Application for C# or VB.net. The IDE hangs until it aborts about 1/2
hour later. I'm using Visual Studio 2003.
Please, help me!!!
... more >>
Please help : DNS.Resolve is so slow
Posted by User at 7/28/2004 4:50:38 PM
Hi,
I am writing a program in VB.NET and it is very slow when it reach this
line :
Dim ipHostInfo As IPHostEntry = Dns.Resolve(strMyForeignIP)
It stay there at least 5 seconds to reach the foreign host, how can it
be fast (instant)? With winsock (in VB6) it is instant connection.
Is ... more >>
foreach casts
Posted by A J Le Couteur Bisson at 7/28/2004 4:43:43 PM
There seems to be a missed opportunity in the implementation of foreach.
Presently the type specified in the foreach must match the type of every
element in the collection. Both of the following alternative
implementations provide additional functionality without breaking existing
code.
a) f... more >>
|