all groups > dotnet general > september 2003 > threads for wednesday september 24
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
Help with WMI
Posted by Jim Scheffler at 9/24/2003 10:13:35 PM
Hello Group,
Could someone point me to an explanation of this statement,
Dim Domain As String = Console.ReadLine()
Dim UserQuery As String = "SELECT * FROM Win32_UserAccount " & _
"WHERE Domain='" & Domain & "'"
Dim Query As New ManagementObjectSearcher(UserQuery)
The part I don't unders... more >>
Help me crash my newsreader
Posted by john bailo at 9/24/2003 8:27:46 PM
Hey, I'm reading COLA using OE for the first time ever.
Can someone post the thing that crashes it?
I always use PAN so i've never seen it crash before
... more >>
Generating a Hash
Posted by Stan at 9/24/2003 5:19:45 PM
Is it possible to hash a 100 bytes string to a integer? I found a few .NET
classes for that
such as Sha1Managed.ComputeHash but they return bytes. I am just not sure
about the idea of converting 100 bytes to four or eight without loosing
uniqueness.
The issue has come up because I am storing ... more >>
Dynamically load Web User Controls
Posted by Jack David at 9/24/2003 4:21:33 PM
I have a number of web user controls that I want to be able to load into a
page. I want to be able to define what controls to include in the page, and
what order they should appear in.
I am using C#
Example:
Web Control 1 = Greeting
Web Control 2 = Select Credit Card Type
If Session Scrip... more >>
Catastrophic failure
Posted by J. Marshall Latham at 9/24/2003 4:06:01 PM
I have written an ASP.NET web app in C# that is trying to connect to a
database using OleDb. I put code in a dll that uses another dll to create a
connection object (and open it if requested) to send back to the web app to
connect to the database.
I am getting the following error when I chang... more >>
ReadOnly look and feel in DataGrid
Posted by SgeM at 9/24/2003 3:18:37 PM
I need to show some data in a readonly DataGrid. I was easily able to
make the grid readonly (DataGrid1.ReadOnly = True) so that data could
not be changed. But grid cells still go in edit mode (i.e., text is
selected and cursor is blinking) giving the wrong impression that the
text can be edited... more >>
rebuild solution automaticly each time im running the solution in the ide
Posted by Daylor at 9/24/2003 2:54:38 PM
i have solution of window application and assemblies ,
i alway forget to rebuild the solotion after i change the code in the
assemblies.
is there way to tell the ide, to rebuild soloution each time im running the
soloution in the ide ?
... more >>
.NET v1.1 csc.exe compiler bug?
Posted by Olaf.Baeyens NO[at]SPAM skyscan.be at 9/24/2003 2:54:24 PM
I first thought I had some compiler setting wrong in VC# 2003 but it turns
out that it has something to do with .NET framework v1.1 itself.
If I understand correctly, .NET installer also installs a csc.exe C#
compiler. And VC# 2003 is using this csc.exe compiler.
Uninstalled an reinstalled bot... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DataSet updates to dataabase
Posted by Vijay Balki at 9/24/2003 1:07:24 PM
This might be a dumb question to ask. Can someone answer me with patience..
When I have a typed or un-typed dataset, the only way I can update is like
below?
Dim con As New SqlConnection(ConnectionString)
con.Open()
Dim daProductsDS As New SqlDataAdapter("Select * from ProductsDS", con)
... more >>
Need some help with asp.net and fill labels from a database.
Posted by Morten at 9/24/2003 10:52:14 AM
Hi.
I have just began to use vb.net/ asp.net.
Now I am trying to undertand ado.net and use of it.
The datagrid it seems I got right but how do I "fill" e.g. a label.
Previous I dis label.caption= rs!something.
Now I have
Dim custNmAdapter As New OleDb.OleDbDataAdapter("SELECT Nm from myT... more >>
Measuring of time consumed by thread
Posted by WinstonSmith at 9/24/2003 9:34:04 AM
Hello everyone,
I need to know how much time (cpu time like in Task Manager) is consumed by
a thread. I tried to use Process.GetCurrentProcess.Threads and choose the
current thread by AppDomain.GetCurrentThreadID. But results were wrong. Has
anyone an idea to solve thsi matter?
Thanks in a... more >>
Problems with FileStreams and images in jpeg format
Posted by Suzanne.James NO[at]SPAM mhapensions.com at 9/24/2003 8:11:30 AM
Hi all,
I'm attempting to save images (that are in jpeg format) to a database
column of type image. I've read over the Microsoft Knowledge Base
articles for this and I can get things working when the image is in a
gif format - but not when the image is in a jpeg format - I get the
error that ... more >>
error while trying to run project: Unable to start debugging on the web server.Access is denied.
Posted by (9628 NO[at]SPAM surrey.police.uk) at 9/24/2003 6:35:53 AM
error while trying to run project: Unable to start debugging on the web server. Access is denied.
Would you like to disable future attempts to debug ASP.NET pages for this project?
I have tried everything but I still get this problem!1
does anybody have any more ideas on how to get rid of ... more >>
Data Connections - Right Click
Posted by rcl58 NO[at]SPAM iglou.com at 9/24/2003 5:42:00 AM
After adding a Data Connection everything appears to be fine but when
I right-click on Tables to add a table the option is not there, only
refresh & properties are showing. I can see and review all my table,
view, sprocs, etc. but I can't access the editing features.
Ideas?
Thanks
Bob
... more >>
[OT] Insert Distinct Value into a SQLServer Table
Posted by Shadowboxer at 9/24/2003 5:40:00 AM
Here's what I need to do:
essentially I have a table in a SQL database that has two columns
int_Artist and str_Artist
int_Artist is a PK field
str_Artist Needs to have unique values
if the data in str_Artist exists, I need the int_Artist Value for that
record.
What I need sql to d... more >>
Trying to override the culture of the system print dialog
Posted by james.hurst NO[at]SPAM touchpaper.com at 9/24/2003 1:00:16 AM
I'm writing a C# win forms application and the customers wish to be
able to define at run/install time which language that application
runs in.
I've manage to set the applications culture, setting the
Thread.CurrentThread.CurrentUICulture and
Thread.CurrentThread.CurrentCulture to a new Culture... more >>
|