all groups > dotnet general > june 2004 > threads for thursday june 10
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
Posting binary / image files
Posted by Magnus at 6/10/2004 11:53:01 PM
Hi
I'm trying to post an image using the Web Browser control:
object oURL="http://www.somedomain.com/test.php"; //form processing
cPostData = @"userfile=C:\\avatar.jpg";
vHeaders = "Content-Type: multipart/form-data" + "\n" + "\r";
vPost = ASCIIEncoding.ASCII.GetBytes(cPostData);
axW... more >>
Opening ILDASM.EXE programatically using C#
Posted by mkamleshgk NO[at]SPAM blr.cognizant.com at 6/10/2004 10:51:12 PM
Hi,
I would like to open ILDASM, programatically.
I could use
System.Diagnostics.Process.Start("....\ILDASM.eXE");
But in that case i'll have to hard code the path...
which i dont want to....
any ideas on how 2 go bout doing this???
thanx in advance,
Kamelsh.
Cognizant Technology... more >>
Urgent problem: Any help greatly appreciated
Posted by Simon Harvey at 6/10/2004 3:49:47 PM
Hi everyone,
I'm having a problem that I don't know how to sort.
I am trying to execute a number of SQL stored procedures in a single
transaction. However it always throughs an exception saying that the "Thread
was being aborted"
I really need to be able to execute these procedures in a sin... more >>
Help Isolating Data Access
Posted by Chris Gallucci at 6/10/2004 3:23:19 PM
I need help with what I think may be a design issue.
I need to access a record for processing. I need to do it in such a fashion that several concurrent processes do not access the same
record.
I've set up a stored procedure that first queries the table for a record to process than marks the ... more >>
Can I get a instance from type?
Posted by ºù«µºÉÌÇæÈí¼þ£ÕÅн¨ at 6/10/2004 2:38:21 PM
i konw a type(no class),can i get this type`s instance list?
... more >>
Serialiazation/Reflection problems
Posted by Russ at 6/10/2004 1:50:21 PM
Hi,
I'm trying to build a gerenic routine which deals with versioning problems
between serailized objects. All my objects are Serialized into a SQL
server DB, but I need to make changes to the object tree and also make
future changes easier.
I'm using custom serialization and reflection a... more >>
Visual Studio .NET 2003 deletes my config-file
Posted by Einar Høst at 6/10/2004 1:40:38 PM
Hi,
I must be doing something wrong: Visual Studio .NET 2003 insists on deleting
my app.exe.config file from the debug folder whenever I compile my project
?!
Why?
- Einar
--
"If it was so, it might be; and if it were so, it would be; but as it isn't,
it ain't. That's logic" -- Lewi... more >>
How can I get a client to easily trust an assembly?
Posted by Harry Keck at 6/10/2004 1:14:01 PM
I have a no touch deployment smart client app. In order to get it to run on any machine, I have to run the "Trust an Assembly" wizard from that machine and set full control for my strong named assembly. Is there a way to automate this process? I don't want to have to give out a long instruction l... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Important refs question
Posted by Simon Harvey at 6/10/2004 12:20:24 PM
Hi all,
When executing the following, is it a copy or a reference thats copied to
the array?
SqlCommand cmd = new SqlCommand("w", x);
myArrayList.Add(cmd); // A reference
or a copy?
The reason i ask is that I then want to go on and use the same va... more >>
Deployment project - Custom Action
Posted by runningdog at 6/10/2004 12:07:47 PM
Hi
What I want to do is execute a cdm script created from a DataBase project
with the Create Command File option. It doesn't appear that I can call this
cmd file directly as a custom action. So I have created a Custom Action
project and added it to my Deployment project. I pass the necessary... more >>
Subroutine /helper function error
Posted by springb2k NO[at]SPAM yahoo.com at 6/10/2004 11:55:42 AM
I'm using a subroutine/helper function display an image (the image
would be displayed inside a datalist control's <itemtemplate> )
<script language="VB" runat="server">
Public Sub checkforimg(ByVal Imagesubprod1 As String)
If Imagesubprod1 <> "" then
response.write(Imagesubprod1)
Else
respo... more >>
Web service doesn't run
Posted by Ioannis Vranos at 6/10/2004 11:08:36 AM
When i open the .asmx file with IE the IIS server doesn't run the web
service but instead i am prompted by the web browser to open the .asmx file
(that is it is getting downloaded). The same happens with the default Hello
World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
ser... more >>
How to identify an error?
Posted by DraguVaso at 6/10/2004 10:14:35 AM
Hi,
I want my application do different actions depending on the exception it
gets.
For exemple: I have an SQL-table with a unique index. In case I try to
Insert a record that's alreaddy in it I get this exception: "Cannot insert
duplicate key row in object 'tblTelephones' with unique index
'... more >>
VB.NET vs ASP.NET
Posted by mcourter NO[at]SPAM mindspring.com at 6/10/2004 9:11:29 AM
i could use some input.
i need some guidelines to use when trying to decide whether to develop
an app using desktop windows application with VB.NET or intranet web
application with ASP.NET.
it seems the word from microsoft and elsewhere is that browser based
apps will have the longest shelf lif... more >>
VS.Net Macros in C#
Posted by Guy Incognito at 6/10/2004 7:58:59 AM
Hello,
Does anyone know why Visual Studio 2003 only allows macros to be written
in vb.net? Are future versions of vs.net expected to allow C# macros?
Or is there some way to write then in C# now?
Thanks,
Jason
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in... more >>
Anyone know of a good file comparison utility?
Posted by Jack at 6/10/2004 7:48:28 AM
I need to compare two files for differences. Does anyone know a good utility
for this?
... more >>
Executing DOS commands from with my application
Posted by hplloyd at 6/10/2004 7:12:02 AM
Hi I want my VB.NET application to run a command from the command line and then wait for the command to finish before continuing.
I am currently using
System.Diagnostics.Process.Start(strApp)
where strApp is the the command line text.
However this method starts a new process and therefor... more >>
MenuItem needs a Custom Shortcut
Posted by deja NO[at]SPAM homerlex.mailshell.com at 6/10/2004 7:10:32 AM
I am writing a C# app that has a Menu. Some of the menu items will
have short cuts that do not exist in the Shortcut enum. I would like
the custom shortcuts to appear on the menu but as far as I can tell
there is no way to add a short cut that is not in the Shortcut enum.
I have my on keyboar... more >>
Running command line comands from .NET from .NET
Posted by hplloyd at 6/10/2004 7:06:01 AM
Hi i want my VB.NEt application to run a seperate application from the command line, and then wait until this application has completed before continuing
I am currently using
System.Diagnostics.Process.Start(strApp) where strApp is the command line but this simply starts a new process... I wan... more >>
2 instances of the program running
Posted by Chris Thunell at 6/10/2004 6:44:05 AM
I have created a VB.net windows forms application. If I have the program
running and then I mistakenly click on my desktop icon again, I get a second
instance of the program running. Is there anyway to check / prevent a
second instance to startup and just take me to the already running
applica... more >>
how to stop reopen form which already opened
Posted by endran at 6/10/2004 2:23:42 AM
Hi Friends
how to stop reopen form which already opened.
for example my form code is like this
every time when i click opening the form i want to stop
that please help
M.A.Endran
Private Sub mnuRefSalesEXE_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
mn... more >>
Uxtheme.dll skinning
Posted by Martín Heras at 6/10/2004 1:03:14 AM
Hello everybody...
I am trying to apply some parts of the WinXP skins in panel controls. I am
using the Uxtheme wrapper which you can download from www.codeproject.com
and it is good.
If I want to do what I explained, I have to pass a string to a function
which makes the drawing. The string ref... more >>
|