|
I have also received an email stating there was a reply from jay_t55. I cannot see it? Usually if something was deleted it shows this message was deleted on this forum right? Is there a bug?
Anyways,
Jay, if I disable the timer then it won't check for updates again unless the application restarts.
|
|
|
|
|
Hello all. I have developed full blackjack game using C# in MS VS 2008. Now I want to implement the Windows WPF in my blackJack game. I have no idea where to start, and look for what. Searching the internet wasted 2 days of work. I will post both versions (once the WPF has been developed) on here.
Thanks in advance.
|
|
|
|
|
BenJamming wrote: Searching the internet wasted 2 days of work
In two days you could have read a book on the subject and be half an expert on the subject.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
BenJamming wrote: Hello all. I have developed full blackjack game using C# in MS VS 2008. Now I want to implement the Windows WPF in my blackJack game.
I would start in the WPF forum...
God, I pity the software world when current crop of new programmers gain "manager" status...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
could anyone tell me how to get the IntPtr handle of a flash element of a site which my webbrowser is focused on?
I'm trying to use SendMessage on the site and it's not working because I need to be sending it to the flash player and not just the webbrowser or something
I can get my clicking to work fine with google but not with flash content
int x = 283;
int y = 342;
IntPtr handle = two.Handle;
StringBuilder className = new StringBuilder(100);
while (className.ToString() != "Internet Explorer_Server")
{
handle = GetWindow(handle, 5);
GetClassName(handle, className, className.Capacity);
}
IntPtr lParam = (IntPtr)((y << 16) | x);
IntPtr wParam = IntPtr.Zero;
const uint downCode = 0x201;
const uint upCode = 0x202;
SendMessage(handle, downCode, wParam, lParam);
SendMessage(handle, upCode, wParam, lParam);
System.Drawing.Pen myBrush = new System.Drawing.Pen(System.Drawing.Color.Red);
Graphics g = two.CreateGraphics();
Graphics h = one.CreateGraphics();
h.DrawEllipse(myBrush, new Rectangle(x, y, 5, 5));
g.DrawEllipse(myBrush, new Rectangle(x, y, 5, 5));
here two is my webbrowser and one is just a transparent form over top of it which I will be using later, I just drew circles on them to tell where the mouse should be clicking, and as I said before, it works for other sites just not flash content
|
|
|
|
|
Hi!
The task is to write a simple FTP-client program, but without operating manually with FTP commands. So I need component to do this for me. I've read about standard class FTPWebRequet.
For example, there is a list of directory names and i need to know what files are in them.
Have I understood, there is no way to do this, except to create one component per request. Is it possible to change work directory for existing FTPWebRequet object?
Regards. Ajunta.
|
|
|
|
|
WebClient class makes file downloading and uploading more easy. I am not sure there is some class which will list the specified directory. You need to supply the FTP command for this.
|
|
|
|
|
>I am not sure there is some class which will list the specified directory.
FTPWebRequet can do this because of uri can be absolute. The problem is to list directory:
FtpWebRequest reqFTP = (FtpWebRequest)FtpWebRequest.Create (new Uri("ftp://" + ftpServerIP + "/"+path));
reqFTP.UseBinary = false;
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
reqFTP.Method = WebRequestMethods.Ftp.ListDirectory;
WebResponse response = reqFTP.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string line;
while ((line = reader.ReadLine()) != null)
{ ..... }
At this point i wanto to list next directory using existing connection? it is possible?
|
|
|
|
|
Hi Guys, It there anyway we can change some properties of a filename like FONT COLOR, FONT STYLE without affecting other file.
Thanks in advance.
erson
|
|
|
|
|
I would suggest that your asking that means you need to do some basic learning before attempting such a task. The file names in the file system are written by the shell. It's possible that a shell extension, which should probably be written in C++, is how you'd go about this.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
File names don't have fonts and colors.
|
|
|
|
|
The font, probably color and size of file names can be changed by the current windows/OS user, though not individually but for all files in the system.
The only thing you could do is display some files in your program and chnage the font for specific files.
|
|
|
|
|
In the forms designer, can you set the "Text" property of a control so that it grabs a string from your stringtable instead, or do you have to do that with code?
For instance setting the "Text" of a Label to "§MyLableString1" and it would grab the context of that string
Thanks
|
|
|
|
|
I want smiley icon (like yahoomessenger) in richtextbox
Is there anyone to know how i must do this?
Pleas answer I searched lot but Ididnt find Clear answer
if you have simple code please share it Or email me
tnx
shaghayegh244@yahoo.com
|
|
|
|
|
|
I am getting a nullable datetime from the DB and need to store it in as a sortable datetime string but display it in a different datetime string format
ex. get datetime or null from DB and store it as "yyyy-mm-dd" or "" for sorting purposes but then need to convert it to dd-MMM-yyyy or empty in the gridview
any suggestion?
|
|
|
|
|
Hi,
you can decode a date string using DateTime.Parse/ParseExact/TryParse/TryParseExact; you will have to deal with null/DBNull yourself.
you can format a date to a string with ToString(); that holds true for all .NET types
you should not store dates as strings in a database, use the existing database types instead (date, datetime, timestamp). If you do store them as strings anyway, have a look at ISO 8601 for a standard format.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
I would use System.DateTime.MinValue or .MaxValue depending on whether I want them sorted to the top or bottom.
if ( f == System.DbBull.Value ) f = System.DateTime.MinValue ;
s = ( f == System.DateTime.MinValue ? "null" : f.ToString() ) ;
|
|
|
|
|
Hi, Has anyone experienced this problem?
i'm using vs.net c# & Report Designer component CRAXDDRT V XI 2
i've added an OleObject in the report page header section by the folowing line
OleObject PicObject = m_Report.Sections[SecNo].AddPictureObject(Application.StartupPath + "\\DefaultLogo.bmp", 0, 0) it's added successfully but after that when i try to change the photo path (Graphic Location) by
PicObject.SetOleLocation("NewPath + "\\AnotherLogo.bmp");
the following error msg appears : 'Access is denied'
I would appreciate your help ...
|
|
|
|
|
U dont have appropriate administrative privileges! Log in as Administrator or its member....
|
|
|
|
|
thanx 4 reply
but i'm actually loging by Administrator
|
|
|
|
|
Hi there,
In Windows form we have a option in the property of the form called 'Opacity' which enables us to set the transparency settings of the form. However, I want that without making the form transperable, only the Buttons should be transperant. So, please tell me guys, which way can I make only the buttons in a form look transperant.
Your help will be appreciated,
Rajdeep.NET
|
|
|
|
|
If you mean, it should show desktop in back then you cant. But you can try this
Transparent Bitmap Buttons with Alpha-Blended Regions in .NET[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I have number and writting on the image.I want to save as(.doc or .xls) number and writting on the images,
how am I do?
|
|
|
|
|