all groups > c# > january 2004 > threads for tuesday january 13
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
OleDbException: Too many fields defined.
Posted by Ranier Dunno at 1/13/2004 11:51:05 PM
Hi,
I'm using an Excel-file generated by a third-party
application as input to my C# app. The problem occurs in
one of the worksheets in that Excel-file, where there is
a single column and no column name, so that the data
starts in the second row.
I'm connecting to the Excel-file as an... more >>
c sharp operators
Posted by Aaron at 1/13/2004 11:02:27 PM
whats the difference between || and | (OR) && and &(AND)?
... more >>
"Develop .Net Enterprise Applications" book -Sample code for Chap. 2?
Posted by José Joye at 1/13/2004 9:49:19 PM
Hi,
I just bought this book from Apress (John Kanalakis)
I'm trying to put together a .Net project for chapter 2. However, I got
stucked with the DataAccess project.
Does anyone already had a chance to put it together?
Thanks,
José
... more >>
How to convert a bitmap to a array of Bytes
Posted by News VS.NET ( MS ILM ) at 1/13/2004 9:09:48 PM
Hello
I have the following:
Dim myBitmap As New Bitmap(600, 500)
Q:
How to convert a Bitmap to a Buffer() of Bytes
Thanks for your help
... more >>
How to kill in process in task manager?
Posted by Thomas Chan at 1/13/2004 8:59:55 PM
I have an application that need to launch acrobat reader. But before I
open acrobat reader, I want to check there is any existing acrobat
reader opening and kill them first.
What can I do? Can anyone kindly sugguest some idea?
Thanks
*** Sent via Developersdex http://www.developersdex.com... more >>
Casting question
Posted by constfilin NO[at]SPAM yahoo.com at 1/13/2004 8:22:55 PM
Greetings -
I have a very simple program:
=====================================
using System;
class Class1
{
static void Main(string[] args)
{
object o = 0; // o is now System.Int32 type
try
{
uint n = (uint)o; // generates invalid cast exception
}
catch( E... more >>
FolderBrowserDialog
Posted by Boris at 1/13/2004 7:15:59 PM
Hi,
Currently I'm attempting to use the functionality of the
FolderBrowserDialog class in my application so that a
user can browser and select directories however the class
is not being recognized. I have installed .NET framework
version 1.1 and I attempt to reference the object using
t... more >>
Ask for C# equivalent of VB Enum using at method
Posted by Mullin Yu at 1/13/2004 7:14:08 PM
At Vb6, we can do the following, and then call typing SendUsingMethod, it
will pop up SendUsingPickup and SendUsingPort option
Public Enum eEDMSMailSendUsing
SendUsingPickup = 1
SendUsingPort = 2
End Enum
Public Sub SendUsingMethod(ByVal eSendUsingMethod As eEDMSMailSendUsing)
...... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can I check if a string is empty?
Posted by Hamed at 1/13/2004 7:12:40 PM
Hello
How can I check if a string is empty?
Thanks
... more >>
About bitmap
Posted by Tanchi at 1/13/2004 6:58:01 PM
Hi, Could anyone help me with this error.
I received this error "Invalid Parameter" with this code
fragment.
private void GetPicEmp(long IDNo)
{
byte[] b = TCSys.GetPicEmp(IDNo);
if(b.Length > 0)
{
MemoryStream stream = new MemoryStream(b,true);
stream.Write(b, 0, b.Length);
... more >>
How do I START to debug this?
Posted by Iain at 1/13/2004 6:49:21 PM
I've an application I've been working on for some time which has a Windows
Forms User interface, a set of 'business object' classes and interacts with
a SQL Server database and some Legacy COM Objects.
All was working well until I added some Logging code.
The Logging code raises an Event fro... more >>
C# equivalent of COM dll
Posted by Mullin Yu at 1/13/2004 6:36:48 PM
I want to know what's the equivalent of COM dll at .NET platform?
I want to build a .NET component and will be reused by other .NET
application. [-> Add Reference -> .NET]
Any links/sample code to teach this?
Thanks!
... more >>
MSMQ
Posted by Krishnan at 1/13/2004 6:33:07 PM
Hi,
Am extremely sorry, but I couldn't find a right group for this one.
I have a C# program which uses the Messaging component and I try to insert a
message into a public queue in my machine when I get a message saying "The
Quese is not registered in the DS". I see that it is the ADS it is rep... more >>
exceptions in finally
Posted by Sankar Nemani at 1/13/2004 6:30:22 PM
Hi all,
If there is an exception inside the finally part of the try block, then
the original exception will be lost. Other than making sure the finally code
does not throw any exceptions and/or putting a try-catch (and ignore
exceptions) block around the code in finally, is there any better ... more >>
Console Application
Posted by Scott at 1/13/2004 6:25:07 PM
Does anyone know how to do a "Clear Screen" (i.e. cls)
with a C# Console Application?... more >>
Manipulating HTML from Server Controls
Posted by Barb Alderton at 1/13/2004 5:51:16 PM
I am working with SharePoint 2003. I am using an existing webpart as a
child control (server control). I need to access/manipulate the HTML that
the control outputs prior to rendering it to the the page. The control
outputs a list in a one-column table format. I need to access the contents
o... more >>
Folder Permissions
Posted by Marcelo López at 1/13/2004 5:36:33 PM
How can i asign permissions for an existing group to a particular folder
only (so that no one else besides the group account member could read, write
or delete the files contained in the selected folder) programatically with
c# or by command line using a .bat ??
regards
Marcelo López
Infoc... more >>
Libraries, Assemblies and Components... Oh my...
Posted by Chuck Bowling at 1/13/2004 5:21:04 PM
I don't understand the difference between these three things... Can someone
clarify?
... more >>
Connecting an event handler in one class and disconnecting it in a different class.
Posted by SunshineGirl at 1/13/2004 4:49:18 PM
In my code, class A instanciates classes B and C.
I would like class B to connect an event handler to a method in class A, and
for class C to disconnect that event handler.
I think I've done too much thinking, and now I'm even more confused as to
how to accomplish this as when I started.
... more >>
C# foreach syntax error
Posted by Douglas Gage at 1/13/2004 4:32:16 PM
How can I do this in one line
foreach((string answer in myansList) && (string qKey in qKeyList))
{
//do something
}
Thanks
... more >>
messagebox
Posted by selen at 1/13/2004 4:10:44 PM
hello
how I can use messagebox as windows application in web application .
Thanks
... more >>
Unmanaged C# application
Posted by mr_triffid NO[at]SPAM etoast.com at 1/13/2004 3:49:20 PM
Hi,
Very simple question (I hope...)- Can I create a C# application that
will run *without* having to deploy the .Net framework on the chosen
machine?
Despite excessive Googling of the web and Usenet, I can't get a
definitive answer to this; it seems reasonably clear that it isn't
possible u... more >>
Help me get this straight.
Posted by test account at 1/13/2004 3:40:44 PM
I have an interface called IStatus.
I have 2 classes, PurchaseOrder and Invoice. They each have an accessor
named Status that return an object of type IStatus.
I have 4 classes that implement IStatus... InvoiceNote, InvoiceStatus,
PurchaseOrderStatus and PurchaseOrderNote.
Here's the proble... more >>
Application.ProductName
Posted by A.M at 1/13/2004 3:34:21 PM
Hi,
In vb.bet we have Application object that gives us information about
application name and path (like Application.ProductName). How can i have
Application object functionality in C# ?
Thanks,
Ali
... more >>
Console App question
Posted by Pete at 1/13/2004 3:31:34 PM
Hello,
When using the format program in a command prompt in
Windows you get something similar to this:
Insert new disk for drive A:
and press ENTER when ready...
The type of the file system is FAT.
Verifying 1.44M
3 percent completed.
How can I print out an updating percentage like th... more >>
Help with DataGrids
Posted by steven_leckman NO[at]SPAM yahoo.com at 1/13/2004 2:27:34 PM
I have a DataGrid which is bound to a DataSet. Is there any way to
take a single cell and change it's font? Or if this isn't possible,
could you place a .bmp into the cell?
Thanks!
Steve... more >>
Asynchronous Socket Performance,
Posted by Anders Both at 1/13/2004 2:12:39 PM
In my application the fowing call:
workSocket.BeginSend(byteData, 0, byteData.Length,0, new
AsyncCallback(SendMesCallBack), null);
Takes between 156250 and 312500 Ticks . And when like 20 calls are made at a
time, they really sum up to something that I did not exspect att all.
Why does I ex... more >>
clearing forms passwords and index.dat in IE 6
Posted by Anubis Cain Dante at 1/13/2004 2:06:15 PM
I am trying to programmatically clear the forms and passwords in internet explorer. I am well aware of how to do this (via the UI) in Internet Options and I've already accomplished programmatically clearing the cache and the cookies with the wininet API. Are there any API's that allow me to do this?... more >>
Selectively firing events
Posted by john at 1/13/2004 1:57:03 PM
Hi,
I have a class that fires an event like this:
class MyClass
{
....
protected override void OnEvent(SomeEventArgs sea)
{
if (MyEvent!=null)
{
MyEvent(this,sea);
}
}
}
There are several subscriber. I want to be able to notify
only selected subsc... more >>
#define
Posted by A.M at 1/13/2004 1:53:03 PM
Hi,
We used to have preprocessors like #define and #ifdef in C++.
How can i have them in C# ?
Thanks,
Ali
... more >>
How to Extract Files from Cabinets
Posted by Jongmin at 1/13/2004 1:48:42 PM
Dear Everybody,
I want to extract a file from cab files in C#.
In visual basic, I used window API-SetupIterateCabinet- to
get the file.
Do I have to use same way as VB?
Thanks,
Jongmin
... more >>
passing a params-array to another function with params-array
Posted by Tobias NO[at]SPAM Olbort.de at 1/13/2004 1:28:38 PM
Hello,
i've a outer function, which takes a params-array as a parameter. I
want to pass this array to inner function with a params-array (e. g.
string.format).
When i've passed an integer to the outer function, the string.format
sets the string-value "System.Object[]" at the position of {0}... more >>
Group Listing problem
Posted by Jason S at 1/13/2004 1:26:19 PM
Hello group,
Trying to get a list of groups, including nested groups, for an account.
Anyone see any problem with this code? It is returing a LOT of 122
ERROR_INSUFFICIENT_BUFFER errors.
ArrayList alGroups = new ArrayList();
int bufferSize = 1024;
int groupLength = bufferSize;
... more >>
newbie regasm mytest.DLL /out:mytest.tlb
Posted by shall NO[at]SPAM uaex.edu at 1/13/2004 1:16:02 PM
I'm doing a CSharp example of a DLL.
It has two classes:
// Add two numbers
using System;
namespace MyMethods
{
public class AddClass
{
public static long Add(long i, long j)
{
return(i+j);
}
}
}
// Multiply two numbers
using System;
namespace MyMethods
{
pub... more >>
Getting the current system
Posted by Marco Martin at 1/13/2004 1:15:00 PM
Hi,
I developed an application on my workstation which is a P4 2.4G. Now that
my application is almost finished, I find out that this app will be used on
the road by technicians using laptops(gota love inter-office communication).
This causes a *major* problem because my app is very UI intens... more >>
Picture Boxes
Posted by Jerry S at 1/13/2004 1:06:16 PM
Hi
I wonder if someone can help with this, because there's something I'm
not understanding right.
I've got a List Array of PictureBoxes.
If I call PictureBoxListArray.Clear(), and then MainForm.Invalidate(),
the picture boxes remain visible on the form.
I'm not sure why!
What's the ... more >>
DataGrid behavior
Posted by James Lennon at 1/13/2004 12:39:45 PM
I have a WindowsForms.DataGrid that I am using to display
a datatable. The datagrid is composed of
TextBoxColumns. I would like to make the DataGrid have
the following behavior. When a user selects a row in the
datagrid that row is highlighted and selected regardless
of the column. ... more >>
How to connect to MS Access data base ??
Posted by DarekB. at 1/13/2004 12:32:00 PM
Elo,
or other "non server" data base. 4ex. dBase
Do U know how to do it???
I've MsVS.NET, i'm tring create OLE Db connection, and recive info that:
Invalid property value:
..Net does not support ODBC driver
Reg.
Darek
... more >>
Do *this* pointer breaks overriding implementation?
Posted by Eric Chaves at 1/13/2004 12:31:14 PM
Hi fellows,
According to the C# language specification (10.5.3), Every virtual method has a "most derived implementation" determined by a 3-step rule. If I invoke the virtual method from a normal variable, everything is ok. However if I call it inside a non-virtual method from the base class, t... more >>
Need Task Scheduler with Source
Posted by Kevin at 1/13/2004 12:28:41 PM
Hi,
I am looking for a Task Scheduler with source code that has the
following features:
- Must perform all of the same functions as the Windows Task Scheduler
- Must be able to run COM Objects
- Must be able to send email and log to the Windows Event Log
- A web interface would be a real n... more >>
LOAD
Posted by selen at 1/13/2004 12:20:31 PM
HELLO,
HOW CAN I LOAD A PAGE WHEN I CLÝCK A BUTTON ÝN WEB APPLÝCATÝON C#
THANKS
... more >>
Refactoring???
Posted by Frank Rizzo at 1/13/2004 12:16:50 PM
I keep hearing this term thrown around. What does it mean in the
context of code? Can someone provide a definition and example using
concrete code?
Thanks.... more >>
ALT-key blocking query
Posted by Patrick De Ridder at 1/13/2004 12:11:53 PM
In order to block using the ALT butto,
I use
tb.KeyPress += etc
and
a function containing
if(e.KeyChar == (char)56)
e.Handled is true;
No syntax errors,
however, this isn't working.
Please comment.
Thank you,
Patrick.
... more >>
learning C#
Posted by Mike at 1/13/2004 12:08:40 PM
When I was learning Java I found a book that explained Java the syntax and
other information about Java, BUT while is was explaining everything about
java it also had examples. At the end the examples actually created an
actual working program. Is there a book like that for C#, that explains C#,
... more >>
creating com classes from .NET
Posted by vipin at 1/13/2004 11:40:16 AM
Hi,
I have created c# code using wsdl.exe from a wsdl
file. But I want to use the functionality from c/c++ code.
Is it possible to convert the c# code to COM classes or
something similar which can be used from c/c++.
thank you
vipin... more >>
Missing assembly error that I can't figure out
Posted by Jeff Green at 1/13/2004 11:35:14 AM
Hello all,
Can anyone explain why I keep getting the following error?
C:\Project\CalcServer\CalcServer.cs(4): The type or namespace name
'Http' does not exist in the class or namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly
reference?)
I have the following usi... more >>
ReaderWriterLock appears to contain a deadlock
Posted by J.Marsch at 1/13/2004 11:19:23 AM
Issue:
I have 3 threads, syncing with a ReaderWriterLock (in "real life", there
will be more).
Thread 1 (there could be any number of these) Gets a read lock with infinite
timeout. It runs in a loop. The readlocks are requested and released very
often.
Thread 2 (only one, this is my dead... more >>
Limitations/disadvantages of C#
Posted by form_w2 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/13/2004 11:17:28 AM
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I... more >>
Array List Question
Posted by eric at 1/13/2004 11:10:18 AM
I have an array list with some values. I need to loop through the arraylist
and change the values. I am using the code below and I am getting an error
(like you would if i looped through a hashtable). Any ideas why?
index = 0;
foreach (object val in arrayList)
{
holeList[index] = (double)... more >>
How to get the code line number?
Posted by RA at 1/13/2004 11:08:26 AM
Hi
I need to be able at run time to get the code line - is there a way to do
this?
Thanks
... more >>
How to specify the EventLog file location?
Posted by RA at 1/13/2004 11:05:27 AM
Hi
Is there a way to specify where the custom EventLog file will be created?
Thanks
... more >>
New User Account.
Posted by Marcelo López at 1/13/2004 10:54:28 AM
I need to create a folder in the file system owned by an special user
created by my application. The idea is that only my app will have
permissions to delete and create files on that folder.
My app is a redistribuitable one, so i need to create the user and give
permissions to my app to that fol... more >>
Design Question
Posted by Dan at 1/13/2004 10:52:35 AM
All,
I have a general design issue that I need some help with.
I have a Windows Service that will, on occasion, be
sending out email notices. These notices fall into two
categories: notices when the service encounters a
processing exceptions that it can't handle and notices
that it gene... more >>
OleDbDataAdapter
Posted by db_from_mn at 1/13/2004 10:51:55 AM
Could someone give me a clue why I get the following
failure when I try to configure an object of this type,
using the Data Adapter Configuration Wizard, using a
connection to an Access database?
Generated SELECT Statement:
IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
Tha... more >>
Web control
Posted by Krishnan at 1/13/2004 10:43:37 AM
Hi,
Are there no LostFocus events for web controls?
TIA
Krishnan
... more >>
Event fired when forground window changes??
Posted by deja NO[at]SPAM homerlex.mailshell.com at 1/13/2004 10:29:19 AM
I want to write an app in C# that keeps track of when the foreground
window in the OS changes. Is there an event that I can "susbscribe"
to for this? Or am I stuck polling using the GetForegroundWindow()
method?
Regards... more >>
com+ compoenent and Component Service
Posted by Karuppasamy at 1/13/2004 10:17:22 AM
H
I have developed a com+ component using c#
when i am trying to add this com+ component to the Component Service in a windows 2000 advanced server machine, i am getting the following erro
"one or more files do not contain components or type libraries. these files cannot be installed
can anyo... more >>
com+ compoenent and Component Service
Posted by Karuppasamy at 1/13/2004 10:16:32 AM
H
I have developed a com+ component using c#
when i am trying to add this com+ component to the Component Service in a windows 2000 advanced server machine, i am getting the following erro
"one or more files do not contain components or type libraries. these files cannot be installed
can anyo... more >>
Drag from a Windows Form and Drop in a non-dotNet application.
Posted by dave NO[at]SPAM digitallint.com at 1/13/2004 10:15:43 AM
I need to add the ability to drag from a Windows Form and drop into a
non dotNet application. For example, having a generated image in my
app that I wish to drag out into explorer as a friendly way to save
it.
I have tried creating the object that I place into the DoDragDrop() by
inheriting t... more >>
Best way of detecting if a row has been added to dataGrid
Posted by Randy at 1/13/2004 9:35:11 AM
Hello,
Can someone tell me what is the best way of implementing the detection of
adding a row to a datagrid. I looked at using a DataView as the datasource
and the ListChanged event, but that didn't seem to work like I expected. It
seemed to fire only when I changed to another row in the grid, n... more >>
Pass a class object (this) by reference
Posted by Jay Douglas at 1/13/2004 9:26:44 AM
Hello, I am needing to pass a class object (this) by reference to a method
in a different class. When I do the following code I get the error (Cannot
pass '<this>' as a ref or out argument because it is read-only) .. Is there
any way to make <this> not read-only?
I have simplified the follow... more >>
C# with datagrid
Posted by Douglas Gage at 1/13/2004 9:24:19 AM
I have two columns
Question Answers
Q1
Q2
Q3
Q4
Submit
I have the following code to collect the answers and update them in the
database but I got the error. I don't know what to do, please tell me if you
can
Thanks
public void updateQuestion(object sender,System.Even... more >>
Programmatically Compiling CSharp Code Using C# Compiler ???
Posted by Alex at 1/13/2004 9:24:01 AM
Hi,
The following article describes how to compile CSharp code
programmatically http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q3
04/6/55.asp&NoWebContent=1
When I'm trying to compile CSsharp code (See code below)
which includes the "us... more >>
Elegant way to reuse a method handler
Posted by Tim Jarvis at 1/13/2004 9:12:41 AM
Hi,
I am using a toolbar object that has a number of buttons that generally
speaking have a corresponding menu item. What I was hoping to be able
to do was to write an event handler for the menu item and assign it to
the click event of the toolbar button.
But I find that the toolbar buttons... more >>
Texture Mapping?
Posted by Myk Quayce at 1/13/2004 9:11:43 AM
I have a four-sided polygon that rotates and zooms as the user moves the mouse. Is there a way to incorporate a texture-mapped
image without DirectX? The GDI+ doesn't seem to support this.
--
Myk Quayce
"If we can't be free, at least we can be cheap." - Frank Zappa
... more >>
UnhandledException Handler
Posted by Thom Little at 1/13/2004 9:07:46 AM
I have a simple C# Winforms application that has an UnhandledException
handler that writes to the log. This works fine if I throw a new exception
(like"bogus") but it does not gain control on a Zero Divide exception.
Is the UnhandledException handler supposed to receive control on all
excepti... more >>
Post Windows messages?
Posted by Hubert Hermanutz at 1/13/2004 9:04:36 AM
Hello,
do anythink know, how I can post native Windows-Messages via .NET, how it
were possible about the Windows-API with the function PostMessage(Hwnd,
Message, WParam, LParam)? Or is it required to import this Windows-API
function about DllImport attribute?
Thanks in advance,
Hubert
... more >>
Get a reference to an object in an Arraylist
Posted by Steve at 1/13/2004 9:01:42 AM
newbie question. In C++ I could get a pointer to an item in a list, for
example
int* pInt = &myList[2];
then I could do something like:
*pInt = 666;
and then myList[2] would equal 666. Nice, very useful and handy.
In C# I can't figure out how to accomplish this and I have not accepted ... more >>
Removing bytes from a file
Posted by tristan_sehgal NO[at]SPAM yahoo.co.uk at 1/13/2004 8:48:53 AM
Hi,
My application writes out files to disk containing representations
of shapes, with no problems.
I also have an index file written out which stores the shape number
and its byte offset in the main file so a specific shape can be
retrieved easily.
The problem I have is how to delete a... more >>
newbie Unable to find csc.exe to compile
Posted by shall NO[at]SPAM uaex.edu at 1/13/2004 8:40:50 AM
I installed .NET Framework.
I've added the "C:\Winnt\Microsoft.Net\Framework\v1.0.3705" to my
Include file.
I've rebooted.
The only way I can compile C:\Temp\HelloWorld.cs
is to be in the above directory. Where I use:
csc HeolloWorld.cs
and it works.
How/Where do I set it so I do NO... more >>
Is this public static method for reading files thread safe
Posted by GG at 1/13/2004 8:23:12 AM
Is this public static method thread safe.
//Receives a file name as a parameter
//and returns the contents of that file as a string
public static string FileToStr(string fileName)
{
FileStream fStream=null;
lock(fStream) //just in case we use it for multithreading to be thread
safe
{
... more >>
Drawing
Posted by zedyounis NO[at]SPAM yahoo.co.uk at 1/13/2004 7:17:24 AM
I am making a application that has some UserControls on a tabpage, you
are able to drag the UserControl around on the tabpage, you can even
select multiple and drag them around also. This is all fine the
problem i have is when setting the background image of the tabpage.
With small background im... more >>
Wrapper Class
Posted by sureshjram NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/13/2004 7:17:04 AM
Hi all ,
What is a Wrapper Class in c#?? I am new to this OOPS plz explain it
thanks in advance
regards
Suresh
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **... more >>
C# Design Help
Posted by fpw23 NO[at]SPAM hotmail.com at 1/13/2004 6:08:29 AM
Hi everyone, I have a general class design question. I come from a
VB5-6 background where I made applications that used an active x dll
to access the database. In the VB world each class was in a seperate
file and I was able to have a module that they all shared that had
global variables, like... more >>
How do I use COM interop to get link (.LNK) path and icon?
Posted by Erik Cedergren (ecgn) at 1/13/2004 5:41:23 AM
I have been trying to get access to the details of a shell link (.LNK shortcut), but no matter what I do I never get the data I need. The basic thought behind the application is to drop a file or shortcut on a form. The form will at a later point execute the program or link. I need to access both th... more >>
oleDbDataAdapter1 limited to 99 variables in SQL-statements??
Posted by flaavia at 1/13/2004 4:37:19 AM
Hello
My oleDbDataAdapter1 seems to be limited to 99 variables
in SQL-statements. At least it does give an error when
tying to address more than 99
Does anyboda know if that is a fixed limit or can it be
increased??
Thanks for all answers in advance... more >>
Fill() problem in VS .NET 2003 in Windows application C# with SQL Server
Posted by Auto at 1/13/2004 4:33:42 AM
I starting to use Visual Studio .NET 2003 creating C# Windows application
with SQL Server and I get problem with method Fill() for which when
running ends with System Error even with the most simple cases which I
copied from a tutorial. everything else works right for ex Preview Data
exc... more >>
Why is CS0553 a compiler error?
Posted by Martin Hallerdal at 1/13/2004 4:19:34 AM
I tried to create a class which basically acts like union.
I have a string and an double member in my class but only
one is "active" and I want the use the "implicit" keyword
to get the "active" object. Here's the code:
public class StringDoubleVal
{
string strval;
double dblval;
boo... more >>
Searching for a specific record in a form
Posted by kerenshor NO[at]SPAM yahoo.com at 1/13/2004 3:48:08 AM
Hello,
I use the VS .NET 2003.
Say I have a Windows form (with C# code, of course) which is connected
to a database to one table. I can browse through the records, but I
don't know how to accomplish a search for a specific record.
I would like to have a button that by clicking it, a response ... more >>
Capturing Windows Keys and Mouse Movements
Posted by Jonny at 1/13/2004 2:32:52 AM
Hi all,
Does anyone know how to capture the Windows Keys (I know
that they are out of the ascii key range) and how to
capture and record Mouse movements?
Thanks,
/Jonny... more >>
Including XML or text file into DLL
Posted by sergeil NO[at]SPAM netvision.net-dot-il.no-spam.invalid at 1/13/2004 2:17:04 AM
Hi,
We try to build dll file with XML file within it (just a XML file, not
resource).
We succeed to build it in IDE, but we don't know how to do it in
command prompt.
Can anybody explain what is the correct command?
Thanks in advance,
Serg
Posted Via Usenet.com Premium Usenet Ne... more >>
Simple variable access question, please answer..
Posted by Unknown at 1/13/2004 2:03:09 AM
Hello i am new to C# and am having trouble with variable access.. What I am
doing is just making a timer, and within the tick event I want a variable
to increase a number.. for example
tick event:
integervar++;
end event
however each time I do this, visual studio is telling me that i... more >>
axWebBrowser excel mdicontainer
Posted by Christoph L at 1/13/2004 1:20:01 AM
If I open a form in a mdicontainer
with an axwebbrowser-control that show=B4s=20
an excel-document=20
and I close the form first and then the application
excel leaves open
If I close the application without closing the form first=20
excel closes.
Help appreciated.... more >>
check, if string is convertable to another type
Posted by Daniel at 1/13/2004 12:31:40 AM
Hello,
This is maybe a simple one:
Is there any way to check, if a string can be converted to
another type (like DateTime or Integer) without using
try/catch? In VB, i can use IsDate or IsNumeric to do
this, but how can i do it in C#?
Thanks in advance,
Daniel... more >>
Opacity on pictureBox
Posted by Mac at 1/13/2004 12:06:08 AM
Hello,
pictureBox does not have an opacity property so anyone knows how can
someone create the same effect on a picture box?
Is it possible at all or what?
I will then need to inheritate a component from picture box for my
purpose but I don't seem to be able to find a way to do this opaci... more >>
|