all groups > dotnet general > january 2004 > threads for friday january 16
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
__cdecl callback function with P/Invoke
Posted by pawel at 1/16/2004 11:27:41 PM
Hi!
I have a .dll library, with some exported function, which looks something
like this:
extern "C" {
int exported_f (int (__cdecl *callback) (int a, int b)) ;
}
now, I want to invoke this function wihtin the managed code and supply my
managed delegate function poiter as callback. I use... more >>
Jon Skeet !!!!!!!!!!!Unable to add a project from VSS into my system
Posted by Santhu at 1/16/2004 9:46:22 PM
Jon skeet thank you for your reply
This solution is already in the VSS and is being added to my team mate systems
And i also had this project in my system
Few weeks before i stooped my enhancements in my project which is in VSS
So i could not see the project (which is VSS) in the start pag... more >>
DateTime parsing
Posted by Simon at 1/16/2004 9:46:17 PM
Hi all
If I have a method for inserting data to database and it take a parameter dateTime in String. Since C# does not have a function to test date like IsDate in VB.Net. Would it be a good idea to use a static method in a static object to convert the dateTime to DateTime datatype as follows
pub... more >>
Filtering posts on this newsgroup
Posted by Lecture Snoddddgrass at 1/16/2004 9:20:32 PM
Is there a way to configure Outlook Express to automatically ignore all
posts on this newsgroup that are crossposted to any other group with the
phrase "advocacy" in the newsgroup name? It would be easier than doing a
manual ignore on each of these threads... I wouldn't even have to see them.... more >>
How to grab a screen shot with "Tool Tips" in VB.Net?
Posted by gregory_may at 1/16/2004 8:30:25 PM
Is there a way to grab a "Screen Shot" that includes "Tool Tips"? I saw
this code someplace, cant remember where. But it doesnt grab "Tool Tips".
Is there a better way to do this in .net?
Thanks!
Private Declare Function CreateDC Lib "gdi32" Alias "CreateDCA" (ByVal
lpDriverName As Stri... more >>
IComparable
Posted by Simon at 1/16/2004 8:21:05 PM
Hi all
I have a class implements IComparable interface, however, I got a error on the following method
protected override int IComparable.CompareTo(object value
..
Does anyone know the reason? one thing question is what is the difference between string and String in C#
Than... more >>
converting acesss.mdb
Posted by gary at 1/16/2004 5:12:05 PM
I have an Access frontend (.mdb). Can I convert all, a portion, or any of
it into vb.net. Even if I can't convert it all, any portion of it would be
a great help. For instance, the forms, the queries, modules, or the macros.
... more >>
conversion
Posted by Aaron at 1/16/2004 4:38:16 PM
Is it possible to convert a hex/ascii string to binary?
ie.
Dim s As String
s = "AA"
output = Hex2Bin(s) '10101010
also is there a bin to hex conversion function?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
creating a client socket udp and tcp...
Posted by AA at 1/16/2004 4:34:47 PM
If I want to write the code, so... is everything same in both case (udp,
tcp) with the only difference of the .net Socket class constructor?
socketType
for udp: Dgram
for tcp: Stream
protocolType
for udp: Udp
for tcp: Tcp
Or there are many others things that change bet... more >>
SelectActiveFrame bug
Posted by Christopher Bohn at 1/16/2004 4:07:29 PM
It looks like this problem was already posted (in two different newsgroups):
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&threadm=08f701c39712%24d47cf3b0%24a401280a%40phx.gbl&rnum=2&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26q%3Dselectactiveframe%2Bdrawimage%2Bbug%2... more >>
Newbie converting app to dot net - Architecture questions.
Posted by Eric at 1/16/2004 3:18:31 PM
Hi, I'm about to start migrating a system and have some questions. I'm just
starting with dot net, so some may be silly. . .
My current application is a vb6 front end and an access database split into
an app.mdb and data.mdb. We have been using pocket access for pocketPC data
entry. We only... more >>
cannot add existing web project to solution
Posted by Jon Paugh at 1/16/2004 3:06:12 PM
Hi Friendly Newsgroup Readers,
I switched to another PC and pulled all my source code
for my solution to my new PC, after first dutifully
adding my web project directories as appropriately named
virtual directories in IIS. But after much fiddling I
still cannot open my web projects from V... more >>
What's the point of the GAC?
Posted by Lecture Snoddddgrass at 1/16/2004 3:05:37 PM
I know this is a very newbie thing to ask, but...
What's the point of the Global Assembly Cache? It reminds me of the
c:\winnt\system32 directory from my C++ days... just a big confusing jumble
of shared DLLs. This made sense in the "old days" because hard disk space
was more expensive so peop... more >>
Three Tier Web Project Structure
Posted by Glenn Whyman at 1/16/2004 3:04:51 PM
Hi,
We've recently completed the design for a three tier web application and are
about to commence development.
When building and deploying is it better to have a VS.NET project for each
logical tier and another for 'Utility' classes. That is each project will
only contain classes for a pa... more >>
Use .NET to authorize credit card?
Posted by Lecture Snoddddgrass at 1/16/2004 3:00:18 PM
Hi,
I'm designing an application in which the user will enter a credit card
number and expiration date. I want my application [which will be a .NET
service running on my server] to check with the credit card company to get
authorization for billing. If the authorization goes through, my ap... more >>
Dropdown list not working
Posted by Binod Nair at 1/16/2004 2:56:41 PM
Hi All,
This is what I am trying to do.I have an aspx page with the the following
code block.
<asp:DropDownList id="DropDownList1" runat="server" DataSource="<%#
GetUsers%>" DataTextField="user_email" DataValueField="user_id">
</asp:DropDownList>
GetUsers is defined in the .vb file... more >>
FileStream to MemoryStream
Posted by Michel Racicot at 1/16/2004 2:53:34 PM
Hi there,
I need to know what is the fastest way to copy a 9mb FileStream into a
MemoryStream?
Must I read a big buffer then writting it in my MemoryStream or is it a
better way?
Thank you
... more >>
Converting from Access.mdb
Posted by gary at 1/16/2004 2:47:12 PM
I am interesting in converting all or at least any portions of a Access 2002
frontend.mdb and backend.mdb into VB.net. Are there any conversion tools
for such a monstrous task? I am especially interested in converting the
layout of the forms and the queries. Any portion that I can convert will... more >>
Viewstate Problem URGENT!!!!!
Posted by sjain NO[at]SPAM lioninc.com at 1/16/2004 2:36:31 PM
Hi Guys,
I am getting this error on our application.
"The viewstate is invalid for this page and might be corrupted." I
have spent about 2 days now goin thru the user groups and couldnt find
the solution to this problem. Most of the postings ask if u r on a web
farm or using Server.Transfer.
... more >>
.NET book
Posted by Andrea at 1/16/2004 2:19:10 PM
I' am planning to buy a ".NET bible".
(I'd looking for an insight and deep look into the .NET framework , Web
Applications and ASP.NET, Desktop applications, XML and Web Services, Web
Applications and ASP.NET, ecc)
I 'm thinking of buying "Developing .NET Enterprise Applications" (by John
K... more >>
Print pdf file in C#...need help, thanks!
Posted by ywchan at 1/16/2004 1:00:13 PM
I have tried to print pdf by using gswin32 and call it through the process
class
but I can't change the paper orientation....no matter I have set dORIENT1 =
true / false...it is printed as portrait....
Does anyone know how to change the paper orientation in my case?
or having some other ide... more >>
thread handling in .NET
Posted by Serge calderara at 1/16/2004 12:21:41 PM
dear all
I need to create a module which will handle a TCP comunication. In that module i need to create a thread which will only taking care of polling an open listen port for incoming data. As soon as data arrived the thread should send an event to the main application
does any one have experi... more >>
C# compiler
Posted by Andy at 1/16/2004 11:51:46 AM
Hi all,
I want to ask how is licenced C# compiler that is distributed in free .NET Framework SDK. Can I distribute and sell programs compiled with this compiler? What about ASP.NET webs compiled with this compiler?
Thanks a lot,
Andy... more >>
GAC ?
Posted by Nick Harris at 1/16/2004 11:26:33 AM
Question. When I strong name my shared assemblies and enter them into the
Global Assembly Cache why doesn't it show up in Visual Studio when I click
on add reference in the .NET tab.
Is there something i'm missing?
Nick
... more >>
XmlReadWrite
Posted by discussion NO[at]SPAM discussion.microsoft.com at 1/16/2004 11:11:20 AM
Hi,
Whats the best way to infile edit a value in an XML file? I want INI file
update functionality on a XML file.
This will come in 2.0 I was told, is this true? Until then how can I do
this easily today?
Thanks
... more >>
Error creating a dataset
Posted by Jade at 1/16/2004 11:06:29 AM
Hi, I am trying to create a dataset with 6 tables and 5 relationships created between them. I am creating it in the Form_Load event. However i keep getting the following error...
An unhandled exception of type 'System.ArgumentNullException' occurred in system.data.dll
Additional information: 'co... more >>
Serializer
Posted by discussion NO[at]SPAM discussion.microsoft.com at 1/16/2004 11:04:41 AM
Hi,
When we get generic collections will the serializer change so we dont need
to give it a type parameter for collections ?
Currently today if we serialize an ArrayList, we have to give it a Type
array. If the collection is of a specific type, is this still needed?
Thanks.
... more >>
remoting in .NET
Posted by VPS at 1/16/2004 10:58:05 AM
Supposing that i am using remoting using singleton class.Now assuming that
10 clients are requesting the object(since singleton creates only one
instance for all the requests) at the same time.
How does .NET handles such situation?
... more >>
COM+ Minutes to idle shutdown programmatically?
Posted by Tim Werth at 1/16/2004 10:51:56 AM
Is there an attribute or property that I can set in my AssemblyInfo.cs that
is used to setup my COM+ application so that I can set the "Minutes until
idle shutdown" of the app to something other than the 3 minute default?
I am using others like:
ApplicationName
ApplicationActivation
Applicat... more >>
Current Application Directory
Posted by Casey Motherway at 1/16/2004 10:37:19 AM
Why, when I start my app by dragging a file onto it, does
System.IO.Directory.GetCurrentDirectory() return "C:\Program Files\Common
Files\System\Mapi\1033"??
And how do I get the Current Directory (the one my app is sitting in) if I
start my app by dragging a file onto it?
I have scoured th... more >>
NET Compact Framework 1.1 ...
Posted by MERT at 1/16/2004 10:37:13 AM
where can I download.
... more >>
Setting the printer without using PrintDialog
Posted by John O'Neill at 1/16/2004 9:47:44 AM
Hi
In C# I would like to be able to set the printer device for printing a
document without using the PrintDialog. I am writing a pocket pc application
which uses a web service to print. I can only make the web service print to
the default printer installed on the web server, and need a way to ... more >>
Bug: handling value class events from another assembly
Posted by Edward Diener at 1/16/2004 9:10:09 AM
This has occurred in MC++, but since there is very little response on that
NG, I am also reporting it here in the hope that someone can find me a
workaround, and report it to MS.
If a __value class with an event is put into an assembly and a __gc class in
another assembly, which has an instanc... more >>
C# class not implementing VB.NET interface
Posted by Paul at 1/16/2004 7:06:05 AM
OK...I must be missing something...can someone tell me what I'm not doing properly...
First, create an assembly with a single interface in VB.NET as follow
Public Interface IDo
Function Bark(ByVal lVolume As Long) As Strin
End Interfac
Pretty simple..
Now...in a second (C#) assembly...... more >>
connecting to oracle
Posted by surya1998 at 1/16/2004 2:01:08 AM
When I am trying to connect to oracle working in asp.net I am getting the error "ORA-12154: TNS:could not resolve service name", I have defined the service name in the TNSNAMES.ORA and able to log to oracle through SQL Plus.
what could be the possible error for this
thanks in advanc
Varadara
... more >>
I am unable to add a solution from source control into my system.
Posted by Santhu at 1/16/2004 1:56:17 AM
I am unable to add a solution from source control into my system
I followed all the steps as in the msdn
I am getting error saying
The source control server folder youselected containd no Vstuido.net projects files or solutions. Please select the different server folder
Please resolve my prob... more >>
Debugging Pocket PC's
Posted by juan5 NO[at]SPAM dev.com at 1/16/2004 1:51:05 AM
Hi
I purchased an h5500 series HP pocket pc. Using VS.NET 2003 I am able to build and deploy to the Pocket PC 2002 Emulator but not to debug the app
The app is "installed" in the emulator just fine but that's all that happens
What's going on
Thanks
Juan Dent... more >>
|