all groups > c# > march 2004 > threads for friday march 26
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
associative arrays is c#
Posted by at 3/26/2004 10:35:53 PM
how can i set an associative array and how can i get both value and index
in'a variable... with are both string ???
... more >>
C# Unmanaged Object scope
Posted by c# at 3/26/2004 10:16:10 PM
Hello, Why is obj invalid in method2 even after calling method1 ?
class A
{
obj ;
method1(param)
{
obj = unmanaged_call()
}
method2()
{
obj // obj is no more valid / invalid here ??
}... more >>
PlatformSDK..using VARIANT
Posted by Arr S at 3/26/2004 10:06:08 PM
Hi
I found a VARIANT API in the platformSDK of C#. But, I donot know how to do this.This API is found in the OleAuto.h file in the platformSDK. Is there any online help available explaining how to use these APIs and call the functions in them
Thanks in advance
Arr S... more >>
Newbie needs help
Posted by Danny Ni at 3/26/2004 9:48:39 PM
Hi,
I have the following sample data from a SQL server table:
Category Item
---------- ---------
cat1 item101
cat1 item102
cat1 item103
cat2 item201
cat2 item202
I want to careate an ASPX page to display a radio button attached t... more >>
Literals into string [] - syntax problem
Posted by ryanm at 3/26/2004 9:35:23 PM
I'm having a problem here, and it probably means I need to find a good
book on C#, but maybe someone can point it out quickly. I want to populate a
string array with a bunch of strings. So I'm doing this:
class foo{
public String[] StringList;
public foo(){
SetStrings();
... more >>
Web application on development server
Posted by Bonj at 3/26/2004 9:35:01 PM
If I have a web application, it asks you at the start of the project for the
name of the server it is to be developed on. How can I build it on a
development server, then later transfer it to a production server? Is it as
simple as copying the files to the relevant c:\inetpub\wwwroot\[projectname... more >>
Redirected request in HttpWebRequest does not maintain specified method!!
Posted by Jon Davis at 3/26/2004 9:35:01 PM
This appears to be a critical bug in the .NET Framework. Surely I am wrong
though! PLEASE HELP if anyone has any idea?
Thanks,
Jon
________________________________
From: Jon Davis [mailto:jon@accentra.net]
Sent: Friday, March 26, 2004 9:31 PM
To: bloggerDev@yahoogroups.com
Subject: RE:... more >>
namespace for auto-update
Posted by John Wood at 3/26/2004 9:28:21 PM
I heard there's a namespace in .net that can automatically update your
application's assemblies from a webservice of sorts while it's running. Is
this true? Can anyone point me to it?
TIA,
John
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
unsafe code and serial ports
Posted by Rick Moll at 3/26/2004 9:14:03 PM
I'm a complete newbie to C# and am writing a striped down serial port
class; but I'm confused as to whether I need to worry about the byte[] I
pass into WriteFile and ReadFile. I'm assuming that the IntPtr handle I
pass is safe. However I'm also thinking that since my application is
multithr... more >>
How do i make a datagrid use my column captions
Posted by amil at 3/26/2004 8:49:27 PM
Hi all,
I set the Caption properties in my dsTest.xsd for all the columns. However,
the datagrid does not use them. How do I make the datagrid to use the
Captions I have set?
... more >>
Drag/Drop User Controls
Posted by amil at 3/26/2004 8:46:23 PM
Hi all,
Can you drag-and-drop user controls to forms?
... more >>
How to copy XML-Nodes between 2 XML-Documents
Posted by Veit Weber at 3/26/2004 8:38:30 PM
If I try to copy a node to an node that is in another XmlDocument, I get
an exception. Anybody know how to fix this ?
Thx
V.... more >>
Is it possible to create a WebRequest w a username and password
Posted by John at 3/26/2004 8:18:16 PM
Hi all:
I am trying to retrieve some info from a file on my web server, but cannot
get the file due to teh security. Is it possible to create a URL and web
request that uses a valid username/apssword to get the file? I was reading
about teh UriBuilder class, however I don't see a constructor f... more >>
How to Conver from ASP to ASP.Net
Posted by ThanhDanh at 3/26/2004 7:00:01 PM
Please help me how to conver code from ASP to ASP.Net or any tool to do
this. Thanks
... more >>
Obtain Computer IP Address using C#
Posted by Derek at 3/26/2004 6:59:55 PM
I need to get the current IP Address using C#.
... more >>
sending pointers of C#.NET methods to native dll
Posted by news.microsoft.com at 3/26/2004 6:53:52 PM
Hi,
I need to send the pointer of a C# method to a native user32.dll method. How
can I do that?
To be specific - the method is SetWindowLong of user32.dll which in VB6 is
being is being called as follows -
glOldWindowProc = SetWindowLong(glWindowHandle, GWL_WNDPROC, AddressOf
WndMessage)... more >>
Methods within many instantiated classes?
Posted by Joe at 3/26/2004 6:47:44 PM
I have a fundamental question about classes (and structs for that matter).
Suppose I have a class with a bunch of members and methods. And this class
will be instantiated many many times at once in memory. Now, performance
wise and memory consumption wise, which method would be best to design t... more >>
Creating Desktop Lnk - How to access IWshRuntimeLibrary (w/ command-line compiler)
Posted by matt_apt NO[at]SPAM yahoo.com at 3/26/2004 6:42:10 PM
I've found plenty of examples on how to use IWshRuntimeLibrary in C#
in order to create a desktop link (or shortcut) to an application.
However, how is it that I can use this in my application? I've seen
references to how to do this using the IDE, but I'm doing this
strictly from the command-... more >>
Make minimised window flash in task bar..
Posted by SPG at 3/26/2004 4:44:30 PM
Hi,
I need to make a minimised window flash in the task bar, without using the
FlashWindow() win32 api call.
Any way to do this?
I have tried myForm.Activate(); but that is no good with XP.
Cheers,
Steve
... more >>
Use Datareader to fill Datagrid ??
Posted by Rikki at 3/26/2004 4:37:00 PM
.....impossible ???
I can't find any information on this, so i'm beginning to believe that it
can't be done(?)
I'm thankful for any information on this!!
... more >>
What button control is used in MS Windows?
Posted by Amos at 3/26/2004 4:27:21 PM
What type of button control is used in Windows? When you switch from Windows
Classical Theme to Windows XP theme (on Windows XP machines) , the buttons
also change.
Can I use those controls in my application?
Thanks.
... more >>
WebClient timing out - how do I set longer timeout?
Posted by Arthur Yousif at 3/26/2004 4:25:46 PM
Hello all,
I have an ASP.NET C# application that uses the WebClient class to retrieve a
report that's converted to PDF.
The URL passed to the WebClient object gets the PDF stream. It works great
except for some reports that exceed a timeout value of some type.
I've been unable to figure o... more >>
System Date - Avoid changes
Posted by mp at 3/26/2004 4:16:46 PM
Hi,
I would like to notice (catch message) when stsyem date is changed.
How we can do that?
Thanks
... more >>
Create control like Toolbar or Statusbar that affects client area
Posted by Jonathan Nix at 3/26/2004 4:16:07 PM
How do you create a control that affects the client area of the window it's in? The control would affect the client area of an MDI parent.... more >>
Inherting from sealed "string" class? Or maybe I need an attribute?
Posted by Drebin at 3/26/2004 4:13:56 PM
I need to make my web service interface support something so the
soap-request is something like this:
<SSNs>
<SSN />
<SSN />
</SSNs>
about the only way I could figure to do this is like by having that
parameter defined as:
public void Test(SSN[] SSNs)
where SSN is a struct o... more >>
Understanding PrinterSettings.DefaultPageSettings Property
Posted by SamSpade at 3/26/2004 3:56:14 PM
I need to know the paper width, height and margins.
I have a few questions:
What does the word "default" in DefaultPageSettings indicate. For example,
does it mean that if the printer defaults to portrait, the values will
represent portrait even if the present document is in landscape? (Jus... more >>
Repeater
Posted by Gav at 3/26/2004 3:50:34 PM
If I'm using a repeater do display... oh lets say images... is it possible
to get a unique ID for each image?
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
<img Id="Image" src="<%# DataBinder.Eval(Container.DataItem,
"ImgSrc") %>">
</ItemTemplate>
</asp:Repeate... more >>
Enumerated type names by using just a string,
Posted by bitwxtadpl NO[at]SPAM yahoo.com at 3/26/2004 3:41:03 PM
I can get the names of an enumerated type by using
string [] strEnumeratedTypeNames =
System.Enum.GetNames(typeof(MyEnumeratedType));
But, what if I don't know what MyEnumeratedType will really be at
runtime?
Can I get the list of names by just giving a string that has the name
of a enumer... more >>
Event when Doubble- or singleclikcing a folder i explorer
Posted by mcr at 3/26/2004 3:14:18 PM
Hi.
Does someone know how to get something done, when doubble or singleclicking
a
folder in explorer.
When a folder get doubble- or singleclicked (selected or opened) I would
like to start a
program. Is this possible?
I tried to get the filesystemwatcher to do this, but with no luck.
... more >>
.NET Equivalent to an Active-X Control??
Posted by Richard at 3/26/2004 3:11:06 PM
Here's a nifty one
I need to locate text fields of a running legacy application on a user's desktop, scrape data from the text field controls, and bring it back into my application. Currently this behavior is accomplished from a VB6.0/C++ thick client application that uses FindWindow() etc... WIN... more >>
Define variable as static - changes even launching new browser
Posted by Johnny Luner at 3/26/2004 3:08:23 PM
I have a base class (root.cs) and all my pages inherits from it. When I
access default_1.aspx, it changes the base class variable intentionally.
Now, when I close the browser launch a new I.E. to access default_2.aspx,
it shows "changed!!" on my screen! I assume launching new browser would
sta... more >>
Test to see if a DB is attached using ADO.NET/C#/SQL 2000
Posted by Derek at 3/26/2004 2:54:49 PM
I am trying to test to see if a DB is attached using ADO.NET/C#/SQL 2000.
How can I do this. I am new to C#
... more >>
subtle issue with Application.DoEvents() behavior
Posted by Wiktor Zychla at 3/26/2004 2:51:02 PM
Hello there,
I have a single threaded app that sometimes performs lenghty operations.
When such operation is performed, a splash form is shown with "Abort lenghty
operation" button. As you can expect, the button event is handled indirectly
via Application.DoEvents() that is put inside the ... more >>
How to get all instance of FolderBrowserDialog in a form?
Posted by Du Dang at 3/26/2004 2:45:09 PM
I want to get all the instances of FolderBrowserDialog in a form
programmaticly
I tried to loop through the Components in the form but I still couldn't pick
it out
foreach (Component com in this.components.Components){
if (com is FolderBrowserDialog){
FolderBrowserDialog fb = com ... more >>
Code behind project and I need to declare a global veriable where do I do this since there is no .h file
Posted by Bryan G at 3/26/2004 2:18:00 PM
Code behind project and I need to declare a global veriable where do I do
this since there is no .h file
... more >>
Trivial string format question
Posted by WRH at 3/26/2004 2:07:37 PM
Hello
I am a C# newbie. I have an int that I want to convert to a fixed length
string
using leading zeros if necessary , ie int num = 0, string str =
num.ToString()
so that str is 0000 (eg, in C++ I would use str.Format("%4.4d",num)
Should be simple but I havent yet found out how to do it.
... more >>
Can I convert a dataview to a dataset
Posted by Amos at 3/26/2004 2:00:41 PM
I have X dataset and I queried the data with a dataview. Would it be
possible to copy the data in the dataview to the dataset? This way, another
query would only involve the data from the last query in the dataview (not
the whole dataset).
Thanks.
Amos
... more >>
Managed DirectX with C#
Posted by koby at 3/26/2004 1:48:50 PM
Hi
I want to start working with Managed DirectX,
aftre I install the SDX I have Microsoft.DirectX....xml
file and not DLLs
to references.
Am I nead to compile any project?
How I get the DLLs ?
Thanks
... more >>
TabControl and WindowsXP Theme
Posted by Nenad Dobrilovic at 3/26/2004 1:42:20 PM
I made TabControl with Alinhment=Right, but it seems that text in the
tabes are not writen (or it cannot be seen). Theme is Windows XP, and
there is *.exe.manifest file in the Debug folder (where is *.exe file,
also).
How can I solve that problem?
Thanks in advance,
Cheya... more >>
converting string containing date as YYYYMMDD
Posted by Amos at 3/26/2004 1:02:14 PM
How can I convert a string with the date in YYYYMMDD format to MM/DD/YYYY
format?
Thanks,
Amos
... more >>
reroute stderr/stdout from a monitored process
Posted by bixbym at 3/26/2004 1:01:09 PM
Hullo - I'm building a windows service in C# to monitor a process that generally runs as a console application.
What I need to do is reroute the output from the process in question so that it ends up in a logfile. Bit new to this, and have no idea where to start, suggestions?... more >>
How do I refresh a text box in a .aspx code behind project?
Posted by Bryan G at 3/26/2004 12:54:56 PM
I have a timmer that looks at a value in a text box that I need to get
refreshed How do I refresh the text box?
thanks,
BG
... more >>
Worker threads and Waitall, Waitany waitone
Posted by Shaun Miller at 3/26/2004 12:51:10 PM
Hello
I'm trying to avoid using the win32 api just to utilize the WaitForMultipleObjects call. Is there an eqivalent in c#
The reason is, I'm trying to kickoff multiple threads, then block until one, any or all of the threads has returned then continue some other task.
Psuedo Code
MAX = 1
... more >>
Sending email via Exchange 2000 server
Posted by J.Marsch at 3/26/2004 12:50:47 PM
I am trying to programmatically send an email via Exchange Server (using
System.Web.Mail right now, but open to CDO). I'm running into the "unable
to relay" error when sending to a non-local email address (local "to"
addresses work just fine)
I would like to know how we need to configure the ... more >>
IIF function equivalent in C#
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/26/2004 12:41:50 PM
Hi all
Is there an equivalent function in C#? Thanks a lot in
advance.... more >>
formatting datetime
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/26/2004 12:34:10 PM
Hi all
I need to format a given datetime to the format
"mm/dd/yy hh:mm" - how do I do this?
DateTime.ToString() returns "mm/dd/yy hh:mm AM or PM" -
this is not the format I want. Thank you all in advance.... more >>
Inheritting constructor?
Posted by Pavils Jurjans at 3/26/2004 12:33:11 PM
Hello,
I am having this code:
**************************************************
using System;
public class Parent
{
int a;
public Parent(int arg)
{
a = arg;
}
}
public class Child : Parent
{
public void Meth(string x)
{
Console.WriteLine("Hello from Child.Meth, id=... more >>
Retriving Application.UserAppDataPath without creating it
Posted by Matt Budd at 3/26/2004 12:31:04 PM
Hello,
I am writing a companion app to one of our companies legacy apps (2000 and
XP) that stores data in :
C:\Documents and Settings\<user>\Application Data\<app>\
I want to in my app (written in C#) get the name of this directory to read
files from it. I don't want to hardcode it thou... more >>
A SQL Question
Posted by Blacky at 3/26/2004 12:24:24 PM
Hi
I'm writing an app that connects to SQL Database, in this case MySQL. With a
select statement I'm getting to values from a tableand displaying them in a
list box. When changing the selection in the list box, I'll be retreiving
more value from that tables but only the record selected in the ... more >>
Handling Attachment after Smtp.Send Exception?
Posted by mirror NO[at]SPAM pathfinder.gr at 3/26/2004 12:05:16 PM
Hi.
I'm trying to send an email with attachment with System.Web.Mail
When SMTP server I use is down (or I use a non-existing smtp server)
smtp.send() raises a exception
After that I want to delete the attachment I used.
The problem is that (from what I understand) Windows marks the file
as "... more >>
remote desktop viewing from IE plugin?
Posted by kirang at 3/26/2004 12:05:05 PM
hi all,
I want to develop an IE plugin that will allow me to view
the activities on a desktop from a remote location, like a
web meeting tool (ala NetMeeting or WebEx). I'm only
interested in viewing the activities of some other
person's desktop through my IE browser, but not
controlling the... more >>
Issues with non-blocking sockets
Posted by Michi Henning at 3/26/2004 11:48:59 AM
Hi,
below is a small program that reads from a non-blocking socket.
To try this, compile and run the program in a window.
Then, from another window, telnet to 127.0.0.1, port 12345.
Here is the code:
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
u... more >>
Stupid / Simple question
Posted by Doug Handler at 3/26/2004 11:33:26 AM
Hi,
I'm having a brain block that i hope someone can help me with. I'm trying
to create an application and i want to create several components to be
reused throughout the application. What I'm stuck on is this - I'm using
3rd party components that have enumerated values that I want to presen... more >>
Embedded Resource of xml file
Posted by Mullin Yu at 3/26/2004 11:33:13 AM
am i right that if i set the Advanced Build property of the xml file to be
"Embedded Resource"?
do i mean that i don't need to copy the xml file when deployment?
the following is my coding:
Stream xmlStream =
Assembly.GetExecutingAssembly().GetManifestResourceStream("SynESDForm.SynESD
Form... more >>
How do you retrieve PasswordLastChanged using C#?
Posted by John Smith at 3/26/2004 11:31:55 AM
I am converting my old ASP domain account manager to .Net / C# and having
problems returning some of the properties such as "PasswordLastChanged" and
"AccountExpirationDate". These properties are provided by the NT provider
and not LDAP, if I'm not mistaken. In my ASP code, I simply use the
fo... more >>
HashTable problem-Pls guide
Posted by KapilShah at 3/26/2004 11:26:10 AM
Hello Everybody:
I have created a multiclient server application. I am storing the client information and the thread hashcode in a hashtable. I want to send the information back to the client from the server by selecting the thread hashcode from the hashtable and sending the information to the same... more >>
Word List
Posted by Patrick de Ridder at 3/26/2004 11:04:03 AM
Is there a source anywhere for word lists to be used in a spelling checking
module?
Many thanks.
... more >>
tablestyles Object reference not set to an instance
Posted by Eddie B. at 3/26/2004 10:44:22 AM
I can't seem to find out why i get "Object reference not set to an instance
of an object" error when I put a loop to test what DataTable columns are
present and the loop says that the col is present in the data table that I
am using.
DataTable dtClass = new DataTable();
dtClass = nmo... more >>
Writing to MDI StatusBar from Child forms
Posted by Amos at 3/26/2004 10:34:26 AM
The only way I found to write to the Statusbar on an MDI form from one of
the child forms was to send the StatusBar as parameter when I create a new
instance of the child form.
Is this the only way?
Thanks, Amos
... more >>
Serialization problem
Posted by Alvin Bruney [MVP] at 3/26/2004 10:20:22 AM
I'm pushing a class across the wire thru a webservice. The class contains a
nested structure. On the client-side, the deserialized class does not
contain the embedded structure. It is simply a class and a structure on the
receiving end. Is this normal? How do I enforce the schema across the
seri... more >>
Work with ZIP files
Posted by Stefano Galluzzo at 3/26/2004 9:54:30 AM
I'd like integrate in my application the manage of Zip files.
Where I can take informations about that?
Thanks at all
Stefano
... more >>
HD Number
Posted by mp at 3/26/2004 9:51:11 AM
Hi,
How we can get HD number programmatically?
Is there some example?
Thanks
... more >>
Application hanging up when reboot
Posted by Mullin Yu at 3/26/2004 9:50:40 AM
hi,
i write a windows application (exe file) which mainly loop at the sql
server to do some operations.
but, when i restart the computer without really close it first, a dialog
always pops out to ask me quit the application. it's very annoying as it may
make my computer can't be rebooted r... more >>
HashTable problem-Pls guide
Posted by KapilShah at 3/26/2004 9:31:11 AM
Hello Everybody:
I have created a multiclient server application. I am storing the client information and the thread hashcode in a hashtable. I want to send the information back to the client from the server by selecting the thread hashcode from the hashtable and sending the information to the same... more >>
Parsing text
Posted by Q2004 at 3/26/2004 8:52:53 AM
I have an arbitrary text as follow :
Repeat Time = 50 AB =200, Test Time = 40
A = 33 Ping Time = 30end remark
I used System.Text.RegularExpressions.Regex regex to query the value. Is
possible to query, say for example, "Repeat Time" and get the value 50
returned ?
What if I wants get al... more >>
How do I convert a DateTime to another time zone?
Posted by Larry FAA at 3/26/2004 8:51:07 AM
I would like to know the date and time in another time zone, but I cannot figure out how to do it. For example, I have a DateTime in UTC that is 23:00, which is 18:00 EDT. I would like to know the time in the PDT timezone. Does anyone know which class I should use to do the conversion?... more >>
Setting File Attributes
Posted by MichaelW at 3/26/2004 8:46:16 AM
How does one programmatically set attributes when looking through a directory? The code example in VS2003 shows how to get an attribute(Hidden), but doesn't show how to set one (ReadOnly).... more >>
Date validation in asp.net form
Posted by Phil396 at 3/26/2004 8:45:47 AM
I need to compare two dates given in an asp.net
form and not allow the form to submit information
if the loan date is less than the date the loan was
issued. I tried the comparevalidation control but that
did not work so well any ideas ? ... more >>
DropDownList control question
Posted by Philip Townsend at 3/26/2004 8:45:07 AM
I have a dropdown list control and need to get its value. The dropdown
list is populated from a dataset, which gets its contents from sql
server.
I am using the following syntax: val=dd.SelectedItem.Value . The value
is getting populated, but will only return the value of the first item
on t... more >>
switch case
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 3/26/2004 8:44:44 AM
Hi friends,
Can we pass more than one value in the case statement? if
we can pass, do we have to separate them by ; or , ? I
have tried those. dont' work. Thank you.... more >>
Drop Down List Control Generates Index Out of Range Error
Posted by Dave Bailey at 3/26/2004 8:11:07 AM
I am trying to populate a dropdownlistbox on a web form with two items from a database separated by a -(dash)
The code is as follows
public DataView CreateSystemCodeListDataSource(
string systemConnect = "Provider=\"MSDAORA.1\";" + GetConnectionString() + ""
string systemSelect = "Se... more >>
UserControl DesignMode
Posted by Jeff at 3/26/2004 8:08:54 AM
I need to be able to determine wheter or not my UserControl is in DesignMode
inside the constructor. It seems that this property is not set until
sometime after the constructor has exited because it is always set to false
inside the constructor.
Is there something I am doing wrong or somethin... more >>
converting double pointer in C#
Posted by finnweez NO[at]SPAM hotmail.com at 3/26/2004 7:51:42 AM
I'm experiencing some confusion with converting double pointer in C#.
i'm calling a C api, but returning no values. I suspect I have issues
with my memory allocation in c#. Any help or pointers would be
appreciated. Thanks.
C code example:
typedef struct
{
unsigned char **test_list;
in... more >>
xfom and c#
Posted by jfrancois at 3/26/2004 7:51:07 AM
H
Could you please tell me if it's possible to build xfrom with C# ? Have you an exemple
Thanks in advanc
... more >>
CollectionBase List property
Posted by sjoshi NO[at]SPAM ingr.com at 3/26/2004 7:23:09 AM
Hello
The doc says that the List property of CollectionBase returns an IList
object. If that is so, then why I'm able to do
List.CopyTo(System.Array, int index) which is again of type
ICollection.CopyTo ?? Since both the IList and ICollection interfaces
do not have a CopyTo member defined..??
... more >>
Communication between Web Services, Windows Services and Remoting
Posted by johannblake NO[at]SPAM yahoo.com at 3/26/2004 7:07:00 AM
I have an XML web service that can be customized by customers. The
goal is this...
A process must run *somewhere* that acts as an interface between the
web service and some foreign system. Whatever that foreign system is
doesn't matter. It can be anything. The process could run on the same
se... more >>
Sending DTM_SETIMAGE message in compact framework
Posted by Adam at 3/26/2004 6:36:08 AM
Hi
This is really a compact framework issue, but is posted here as there is no managed newsgroup for cf
I am trying to set an image in the html viewer control - i receive the NM_INLINE_IMAGE message, process the file and create a DTM_SETIMAGE message to pass back, but whatever i try i can't seem ... more >>
events problem
Posted by d.danckaerts NO[at]SPAM centricksi.be at 3/26/2004 6:18:41 AM
Hi,
I made a console application that had to delete some files and
afterwards write to a log file which files were deleted. I wrote an
event that triggers every time a file was deleted so a line could be
written to the logfile.
Now my problem is that when I execute this console application ... more >>
csc in command window
Posted by rbarr8 at 3/26/2004 6:16:08 AM
i am using the ms press book step by step c# and it calls for running the csc program in a command window. when i run it i get an error saying csc is not an internal or external command... more >>
assigning data extracted from a database to a label in ASP.NET
Posted by librablue9 NO[at]SPAM hotmail.com at 3/26/2004 4:57:54 AM
I am extracting data from a database in a very normal SELECT query.
The point is that I want to put some of the data (in the row(s)
extracted in labels not a datagrid or a table. Any idea how??
here's my code (so far!!!)
protected System.Web.UI.WebControls.Label Label1;
DataSet DS = ne... more >>
Comparing string values, weird problem
Posted by ryanm at 3/26/2004 4:50:42 AM
I have this function:
private void ParseCommands(String cmd){
switch(cmd)
{
case "!rpt":
Report();
break;
// other cases removed for brevity
default:
Console.WriteLine(cmd);
break;
}
}
...as ... more >>
Accessing resources
Posted by rob NO[at]SPAM saikosounds.com at 3/26/2004 3:38:08 AM
Hello
I am receiving this exception in my web application, using VS.NET
"Could not find any resources appropriate for the specified culture
(or the neutral culture) in the given assembly. Make sure
"mobile01.language.resources" was correctly embedded or linked into
assembly....."
My code l... more >>
newbie: stuck on trying to modify a control porerty from within created thread. Pls some help.
Posted by Juan at 3/26/2004 1:54:45 AM
How can I call a method that modifies a control in the user interface from a
thread? When I tried to do it I receive an error stating that I shoul use
"Control.Invoke...".
I know I have to use a delegate
This is what I`m doing:
Create the delegate
1. public delegate void DelegateName(s... more >>
Generation of UUID
Posted by harry at 3/26/2004 1:41:08 AM
I need to generates UUID with -s option and copy it to a file. I need to do this programmtically i.e through my application this should get generated and get copied to desired file. Can anyone suggest how can this be done in C#?... more >>
Monitoring fields in an object
Posted by Jesper, DK at 3/26/2004 1:41:05 AM
Hi
Is it possible in C# to monitor the value of fields in an object. I have a field in an object that wrongfully changes value, and it would be a great help if it was possible to set get a break in the execution of the code during debugging every time it changes its value. Is this possible and how... more >>
Office Automation
Posted by Federico at 3/26/2004 1:01:08 AM
Hi
first of all, sorry for my bad english
anyway, i am trying to access a word document in c# but my code doesnt work!
i have search through the net about Office Automation and i have found man
articles and forums speaking about it but no answer to my prob
IMPORTANT: I am using
- W2K
- Word... more >>
Database Transaction in WAN
Posted by simsimlhr NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/26/2004 12:53:15 AM
How can we load the Database form in LAN and WAN.
Means user get form in the WAN .Do Trasnsaction.And Logouts.
PLease Someone Tell me the classes.
I think i must use WEb Services.
If there are articles Do tell me.
Waiting for Reply.
Qasim Raza
Posted Via Usenet.com Premium Usenet Newsgro... more >>
Why Does it generate different result ? using ASCIIEncoding.GetChars(..), ASCIIEncoding.GetString(..)
Posted by ±èÀçȲ at 3/26/2004 12:13:45 AM
When you use the ASCIIEncoding class, its GetChars(..) method decode the
bytes as '?' if bytes[index] higher than 0x7f.
But its GetString(..) method decode the bytes using this code that is 0x7f &
bytes[index].
Why..?
Why Does it generate different result ? using ASCIIEncoding.GetChars(..),
... more >>
Newbie - User Control hide property
Posted by aava NO[at]SPAM hotmail.com at 3/26/2004 12:02:48 AM
I am creating a control in which I inherit from Label
public class WZFormLabel : Label
I would like to hide certain properties like Font, TextAlign etc. I
have tried the following code, but it throws an error
[Browsable(false)]
public override Font Font
{
get
{
return this.Font;
... more >>
|