all groups > dotnet general > march 2004 > threads for wednesday march 3
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
dBase Connection
Posted by Kshitij at 3/3/2004 10:26:08 PM
HI,
How to connect to the dBase database?? One option is to create a DSN and use it.But I want to do it in some other way like just passing a connection string or like that.
Thanks in advance. ... more >>
'IDataObject' : ambiguous symbol
Posted by EHuq at 3/3/2004 9:16:06 PM
Hi there
I am facing a problem. When I include my unmanaged header file in my form1.h file, I am facing the compile error with the following messag
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7408) : error C2872: 'IDataObject' : ambiguous symbo
co... more >>
interacting with a process
Posted by Michael Quan at 3/3/2004 8:06:07 PM
Hello I was wondering if someone could point to me information on how to start an external process and how to interact with it
For example
In my C# program I want to start a process that will xcopy d:\*.* f:If the same file exist on f:\, xcopy will throw a prompt asking for y to continue
I woul... more >>
Dataview, Dataset - Select Distinct
Posted by Dianna at 3/3/2004 7:36:07 PM
I don't understand why the dataview or the dataset does not have a 'Select Distinct' option. They both can do so much to filter the data except that. The article Microsoft has 326176 works, but not if you need to select distinct on multiple fields.
Does anyone have any suggestions
Thanks
Dia... more >>
How to insert lines of text into an existing text file?
Posted by MJ at 3/3/2004 7:36:06 PM
Currently i am using the below coding to create a text file and write something on it.
Dim wfile As New System.IO.StreamWriter("c:\test.txt"
wfile.WriteLine("Hello" & vbcrlf & "Are" & vbcrlf & "You"
wfile.Close(
The text file content should be like thi
Hell
Ar
Yo
What if i want to insert... more >>
CLR
Posted by Noor at 3/3/2004 5:19:37 PM
dear all,
can anybody tell me which file contains the clr .. how it's invoked?
like in java.. jvm is separate executable call java.exe (i think)..
what's the clr file name?
plz point me out some articles regarding this.
Noor
... more >>
Using Reflection
Posted by Steve at 3/3/2004 5:03:20 PM
Hi all
If there is a more relevant NG for my question about Reflection I would be
grateful if some-one could point me in the right direction!
I am using the following code to get the Public Methods, Properties and
Events from a particular Assembly, but some extra methods are being listed.
H... more >>
Application error: "Set" assignment statements are no longer supported
Posted by J. Muenchbourg at 3/3/2004 4:01:10 PM
The following line in part of my asp-sql block:
Set rs = Server.CreateObject("ADODB.Recordset")
creates an application error: "Set" assignment statements are no longer
supported
(in this particular block):
<%
Dim rs, strSQLd
Set rs = Server.CreateObject("ADODB.Recordset")
strSQLd = "Se... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
indexers
Posted by phoenix at 3/3/2004 3:57:30 PM
Hello,
I have the following class :
public class Unit {
Hashtable a;
Hashtable b;
// constructors
public object this[string name]
{
get
{
return a[name];
}
}
}
Which works like a charm, but now i want a second property ... more >>
Data Files Instead of Registry For Application Data
Posted by Martin Harran at 3/3/2004 3:10:43 PM
I understand that MS are encouraging developers using the NET platform to
move away from storing application related data in the registry and to store
it in data files instead.
Is there a "best practice" in regard to the type of data files to be used -
is there, for example, a move back toward... more >>
MSChart in .NET environmnet
Posted by arc at 3/3/2004 3:08:36 PM
My web application is using MSChart for reporting. (until i port it to some
decent reporting tool)
How to make sure all the web clients (IE atleast) have MSChart on their
system to view these charts?
Windows 2000, XP dont seem to have them by default unless Visual Studio is
installed in the s... more >>
Read/Write binary file
Posted by Shmurthy at 3/3/2004 2:06:07 PM
I have a binary file. How do i search for a string (pattern) and replace dynamically with new data.
Thank
Shmurthy... more >>
SendKeys - PostMessage problem
Posted by Paul at 3/3/2004 2:05:08 PM
Hi all.
Probably a quick one, I'm using PostMessage to send keys to an applicatoin
but how do I convert the key string to a long values so that I can pass this
to the wParam. The definition is below
Private Declare Auto Function PostMessage Lib "user32" ( _
ByVal hWnd As IntPtr, _
ByVal Ms... more >>
Need help recoding a function
Posted by Bhavna at 3/3/2004 1:16:08 PM
Hi all
I have this function that i want to edit. At present this function takes an arraylist and retrieves the index of the smallest interger contained in the arraylist
What i want to do is modify this so that it retrieves the top 10 indexes of the smallest to largest intergers in a arraylist
i... more >>
using xsd and datasets with XmlDataDocument
Posted by kev_Eldridge NO[at]SPAM yahoo.it at 3/3/2004 12:22:45 PM
I have the following xml:
<message>
<envelope>
<body key="" value="" />
</envelope>
</message>
I have associated an xsd to this xml in order to use the
XmlDataDocument and give me the
possibility to access the data through a dataset in the manner below
specified:
DataSet ds = Xml... more >>
making a dsn connection
Posted by iamoraal NO[at]SPAM hotmail.com at 3/3/2004 12:14:39 PM
I am very new to dot net! In fact, this is my first go at it, and
would like to know how to change an adodb connection via dsn to dot
net? The database is in Access 2000.".
This is my original code:
set cn = server.CreateObject("ADODB.connection")
set rs = server.CreateObject("ADODB.records... more >>
How do I Print a .wmf image?
Posted by Hal Gibson at 3/3/2004 12:01:07 PM
How do I Print a .wmf image
What I eventually need to do is print text over a pre-rendered Windows Metafile Image
I need to combine formatted text with the .wmf file in one print operation
I'm able to do this in vb6 but get an invalid image type in .Ne
Any help would be greatly appreciated... more >>
Does anyone know how to disable the event handling
Posted by Norton at 3/3/2004 11:26:33 AM
Dear all,
i am in a deadloop now...
when i update the tabcontrol in selectedchanged event
the appz will trigger another selectedchanged event and it never stop
but i forgot the code to disable event handling
does anyone know?
thx a lot
... more >>
Backing up MSDE using Vb.Net
Posted by Hlpl at 3/3/2004 10:36:13 AM
Hi
I have a VB.net windows application that uses an MSDE database
I need to give the user the option to backup this data (and later restore it). Ideally I want to back the data up to an empty Access 2000 database that contains the table structure
I know that I can do this by stepping through e... more >>
Link Button in User Control causes JavaScript error
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 3/3/2004 10:13:18 AM
Could anyone please explain why it causes a JavaScript error when I
simply add an <asp:LinkButton> to a User Control and then reference
and tag that user control within a webform ?
I am using Visual Studio .Net 2003 an C#
I have found postings from other programmers experiencing the same
pr... more >>
WebBrowser Control documentation
Posted by Ana Lindt at 3/3/2004 9:27:18 AM
Hi,
Does anyone know where I can find documentation about the WebBrowser
control?
Regards,
Ana L
... more >>
static methods and thread safety
Posted by Steve at 3/3/2004 9:26:06 AM
Is a static method that uses local variables thread safe (eg in a web service)
In the following code assuming GetRandomValue() and DoSomethingElse() are thread safe, is the static method thread safe
public class Cach
public static int GetAValue(
int x = 0
x = GetRandomVa... more >>
How do you get the total number of records in a datagrid?
Posted by Steve at 3/3/2004 7:31:02 AM
I can't seem to find a property in the datagrid class
that gives me the total number of records stored in it.
Is there another way to do it?... more >>
SQL development in VS.NET
Posted by Mike Lane at 3/3/2004 6:46:13 AM
Is the SQL development environment that is provided in VS.NET supposed to replace the need for developers to use the SQL Enterprise Manager development environment or is it a limited but convenient environment. It is great that it is integrated with VSS but I don't see that it offers all of the too... more >>
Add record in bound form
Posted by Maurice at 3/3/2004 6:26:07 AM
Hi
In .NET I created a form with bound controls (Access Database). I used a dataset and followed examples to create a navigation using the Binding Context. So far everything goes well
My question, how do I add a new record to the database AFTER the user filled in the fields on the form. When the ... more >>
Exception Management Application Block In SubFolders
Posted by Steve O'maley at 3/3/2004 5:56:09 AM
I currently have the Exception Management Application Block working in my base directory, but when I create pages in a subfolder the Exception Management Application Block is never executed. The error is just displayed back to me like it normaly would be w/out the Exception Management Application Bl... more >>
Read Id3 v2 Tags from music-files
Posted by Sphere at 3/3/2004 5:41:08 AM
Hi
I'd like to read out the ID3 V2 tags from my music files (like mp3, wma, ogg, ...
is there a possibility to do that?... more >>
Could not find installable ISAM
Posted by Phil at 3/3/2004 4:11:07 AM
Hi There. Seriously stuck and need help! I am trying to access Access 2000 database using ASP.NET(VB) and I am getting a "Could not find installable ISAM" crap. There are quite a few resources dedicated to solving this problem but none work (spent 6 hours on google trying everything suggested). The ... more >>
Bound or unbound
Posted by Maurice at 3/3/2004 2:56:06 AM
Hi
I was wondering what most of the designers in .NET create: bound windows forms or unbound windows forms. The applications I've made in Access were all bound forms but what is the best choice in .NET? And why..
Thx!... more >>
Paging in a datagrid
Posted by Santhu at 3/3/2004 2:41:05 AM
I want to have paging to my datagrid as we have in google pag
For exampl
Previous 1 2 3 4 5 Next
How can i achieve that
The code should be reusable for any number of grids
Santhu... more >>
Asynchronous web methods
Posted by hs at 3/3/2004 2:31:05 AM
H
I am using the articles by Matt Powell about server side asynchronous web methods (as well as the client side article)
However i dont see any improvements to the speed of my application. I'm experiencing the
slow speed on the server side. I read that using a delegate to call an asynchronous met... more >>
|