all groups > c# > february 2005 > threads for sunday february 6
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
Loading dlls dynamically
Posted by Claire at 2/6/2005 10:19:48 PM
How do I load and run dll functions dynamically please? The dll may be
anywhere and its location is set in a command line parameter.
I've loaded the dll OK, done the equivalent of GetProcAddress
// kernel32, not used dynamically as it's fixed location.
[DllImport("kernel32.dll")]
internal ... more >>
parameters in click or mouse down events
Posted by dcurran at 2/6/2005 9:59:03 PM
I have 68 picturebox objects in an array and I want to work with the
picturebox that is clicked on. How can I figure out which picturebox was
clicked on so that I can make one generic "click" routine instead of having
68 separate events like this?
private void pictureBox1_Click(object send... more >>
How to access Microsoft Outlook Address Book thru C#?
Posted by Adhiraj at 2/6/2005 9:53:01 PM
Hi,
Has anyone idea on how to access Microsoft Outlook Address Book thru' C# code?
Thanks in advance,
Adhiraj.... more >>
ListView srcollbar ?
Posted by Grei at 2/6/2005 8:49:17 PM
how to manipulate ListView scrollbar?
let's say i want to move Horizontal/Vertical scroll to some position.
Also i need to read this position.
... more >>
Real time
Posted by Lionel at 2/6/2005 8:43:52 PM
Hi,
I would like to write a real time program.
I usually use C++, but i was wondering if C# would be as efficient ?
And what about C++.Net ?
Thanks.
... more >>
Help adding a component
Posted by Keith Smith at 2/6/2005 8:39:25 PM
I am reading this article...
http://www.codeproject.com/cs/combobox/csautocomplete.asp
About half-way down you will see a section titled "Using This Control"
(written in orange lettering).
Underneath that it says "Use this control in the same manner as you would a
regular System.Windows... more >>
Application run parameters. How to read them?
Posted by Claire at 2/6/2005 8:33:28 PM
If values are sent as parameters to an application on run, how do you read
them back in visual studio c# .net please?
... more >>
Assembly: custom attributes
Posted by julien at 2/6/2005 8:13:59 PM
Hello,
my program loads a couple of DLLs. I use System.Reflection to obtain
information about them.
I a DLL, I have:
[assembly:AssemblyTitle("First plugin")]
[assembly:AssemblyCompany("MySelf")]
[assembly:AssemblyProduct("My first plugin")]
I tried to retrive these information in my prog... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Passing Parameters between form classes - C#
Posted by Johnny at 2/6/2005 7:55:08 PM
I'm a rookie at C# and OO so please don't laugh! I have a form
(fclsTaxCalculator) that contains a text box (tboxZipCode) containing a zip
code. The user can enter a zip code in the text box and click a button to
determine whether the zip code is unique. If the zip code is not unique,
ano... more >>
Accessing properties of Controls in another Form
Posted by Andrew Diabo at 2/6/2005 7:07:02 PM
I have 2 forms (Form1 and Form2) in my C# project. I created the second form
from the main form like so:
Fom2 aForm = new Form2();
aForm.ShowDialog();
How do I access the properties of a control (label1) in Form1 from Form2?
Thanks
Andrew... more >>
FileSystemWatcher - How find out type (directory / file)
Posted by phil NO[at]SPAM somedomain.com at 2/6/2005 6:04:50 PM
Hi,
Here is another newbie question:
I am using the FileSystemWatcher. The filter I have set to "*.*". On the events, I get a FileSystemEventArgs object where I can get i.e. the name of the created/deleted/changed/renamed file or folder. But how do I find out first, if the object is a file or ... more >>
DataSet question
Posted by Keith Smith at 2/6/2005 4:23:50 PM
I use this method to read from my Access database...
DataSet ReadDatabase(string strSQL)
{
string strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\\database.MDB";
OleDbConnection myConn = new OleDbConnection(strDSN);
OleDbDataAdapter myCmd = new OleDbDataAdapte... more >>
sockets question...
Posted by Norvin Laudon at 2/6/2005 3:27:17 PM
....or maybe more of a basic networking question:
I need to create a protocol that will allow multiple instances of my
executable (on one PC only) to synchronize with each other.
i.e.: when a setting in one instance of the program changes, I want all of
the other running instances of that prog... more >>
Why does .NET delete my pdb files when changing to release mode.
Posted by walker_712 NO[at]SPAM hotmail.com at 2/6/2005 3:23:47 PM
When I do a final build I typically build all projects in debug mode
first and then release mode and then copy all files to a builds
folder. However I've noticed that the .pdb files in the debug folder
aren't always there. After investigating I found out that when I
change from debug to release ... more >>
Determining write access
Posted by timm.wong NO[at]SPAM gmail.com at 2/6/2005 2:58:53 PM
Hi,
How would I go about determining if a current user has write access to
a folder that is on a network
Any feedback would be greatly appreciated
Tim
... more >>
Saving from richTextBox to File
Posted by JRB at 2/6/2005 2:11:01 PM
Hi, I've got a bunch of text put onto a richTextBox with a StreamWriter.
Every now and then I insert a '\n' character for a new line. It displays
properly in the richTextBox with the \n character moving the text down to the
next line. The problem is that I have it set up so when the user click... more >>
Slow build?! please help
Posted by Jeti at 2/6/2005 1:41:33 PM
I have solution containing over than 25 projects, and when i press "Rebuild
Solution", it starts, but in few seconds - it stops for about 10 sec, and
then continues... It gets pretty irritating to wait so long for each build.
Few days ago it woked ok, but now it doesnt...
Anyone has any idea w... more >>
Most significant bit in WM_COMMAND wparam
Posted by Just Me at 2/6/2005 1:28:40 PM
I've seen this in examples:
Case User.WM_COMMAND
Select Case (m.WParam.ToInt32 And &H7FFF0000) \ &H10000
My question is why is the most significant bit ignored?
Does it have some significance or maybe not allowed
thanks
... more >>
Basic: How to represent Tab in a string, it is char 9. What is the sintaxys?
Posted by Juan at 2/6/2005 1:17:49 PM
Basic: How to get a specific character from a string?
Posted by Juan at 2/6/2005 12:04:28 PM
FileSystemWatcher - How to find out file / directory
Posted by fitsch NO[at]SPAM bluewin.ch at 2/6/2005 10:47:52 AM
Hi,
Here comes another newbie question:
I am using the FileSystemWatcher. The filter I have set to "*.*". On
the events, I can access the FileSystemEventArgs.
How do I find out, if it is a file or a directory?
Thanks for any advice...
Greets,
Phil... more >>
Strange code execution
Posted by Default at 2/6/2005 4:09:01 AM
Hi, I am new to C#, that is why I am not sure what kind of problem it is: Is
VS files corrupted , or something else. that is the problems description:
I am working on a small database project. I am not using any data sources
Mysql, access etc. Instead I use binary formatter to store and read d... more >>
ListView Question
Posted by Zach at 2/6/2005 1:22:11 AM
Re a ListView
I would like to establish what is in the first
column of a row of which I know the index (k).
(Given that the list view is filled with data.)
I have tried e.g.:
MessageBox.Show(listView1.Items[k],SubItems[1].ToString())
but this doesn't work.
What is the correct *code*... more >>
How do I crack ILDASM?
Posted by Sean Hederman at 2/6/2005 12:47:21 AM
I'm working on a simple Licensing Application Block, and a pretty useful
feature would be to break ILDASM and Reflector so that round-tripping would
at the very least be much more difficult.
Has anyone got any pointers, articles, or code I could use to do this. It's
not particularly importa... more >>
MCSD certification - is it still necessary to land a job?
Posted by Lewis Lang at 2/6/2005 12:11:42 AM
MCSD certification - is it still necessary to land a job? ... or, is
it just a money-maker? Is it worth spending the money on the books and
the exam?
Thanks,
Lewis Lang
... more >>
|