I dont know what that means.
DanYELL
Posts
-
Edit Subitems In Owner Drawn List -
Edit Subitems In Owner Drawn ListI cant use SetItemText() for an owner drawn list control. I try using HWND hWnd1 = ::GetDlgItem (m_hWnd,IDC_LIST_1095C); LVITEM lvi; lvi.iSubItem = 3; lvi.pszText = (LPTSTR) "123"; ::SendMessage(hWnd1, LVM_SETITEMTEXT, 0, (LPARAM)&lvi); But it doesnt update the text in the list. Im missing something and I cant figure out what Im missing. Please any response any one can give me will be greatly appreciated.
-
How to ShellExecute a PDF to a specific pageI have a PDF. If I use this CString Path = GetPath("manual.pdf"); ShellExecute(0, "open", Path, NULL, NULL, SW_SHOWNORMAL); The PDF executes. But if I then use Path += "#page=17"; ShellExecute(0, "open", Path, NULL, NULL, SW_SHOWNORMAL); or anything similar, I cant get the PDF to execute. I want the PDF to execute and jump to a specific page. I found solutions, I think, where I can execute the adobe.exe file and the path, but I dont know where adobe.exe is located on these computers. Is there any way to execute a PDF without knowing where the adobe executable is at? Please, any response any one can give me will be greatly appreciated.
-
bcmenu.cpp for XP and 7/8I have a simple project that compiles in VS2005. When I compile it in VS10, I get assertion errors in the file bcmenu.cpp. bcmenu.cpp was taken from this project http://www.codeproject.com/Articles/22/Cool-Owner-Drawn-Menus-with-Bitmaps-Version-3-03 The first few comments on that link talk about the project not working for Windows XP if compiled in VS10. Any chance, anyone else has come across this and has a solution? I see the comments but my project compiles in VS10, runs fine on Vista, 7, & 8 but crashes on XP and I cant figure out from the comments what Im doing wrong. Please let me know. If you have a revised bcmenu.cpp file that you can email me, that would be great.
-
How to use a png or jpg in visual studio?I have an image of a form. I can easily add that image as a bitmap resource. Then in my CFormView, I click on Toolbox and Picture Control and I select Bitmap as the type and find the image from the list of images. I can then lay edit boxes on top of the form. The problem is, the form is just a black and white form and the bitmap takes up alot of space. I have several form images to add and my program is becoming really big in size. In contrast, a png or jpeg is alot smaller in size and the final software will be smaller. I can add a PNG as a resource. However, I click on Toolbox and add a Picture Control and then right click on that Picture Control to go to its properties and if I select Bitmap, it doesnt show the PNG as a image to select. How can I use the PNG that is added? Another question which is not crucial. How can I add a JPG as a resource? And if I add it, how can I then use it? If you can show me how to use a PNG or JPG or anything similar (not a GIF) and how to make it display, that would be great. Sincerely, Danielle Brina
-
log into a websiteIs there anything like this I can use: http://www.netomatix.com/httppostdata.aspx If I sent you a sample project, could you help me make it log into a site, any site?
-
log into a websiteIn reading that link that you provide, it almost seems like its possible in C# to fill out a page and click "login" and log into that page. If its possible, can I send you a sample project and can you help me log into an account, any account?
-
log into a websiteI put together a simple web browser using c#. Its great, its simple. I added a button. I click the button and I want to be able to log into a particular website. I have this code:
string username = "username";
string password = "pass";
string commit = "Login";
string postData = string.Format("txtuserid={0}&txtpassword={1}&btnlogin={2}", username, password, commit);ASCIIEncoding enc = new ASCIIEncoding();
webBrowser1.Navigate("new page.html", "", enc.GetBytes(postData), "Content-Type: application/x-www-form-urlencoded\r\n");
But it doesnt do anything. Is there a way to make the username and password appear in there respective boxes? Is there another command that I use to make it click that Login button and move onto the next page? Please any response any one can give me will be greatly appreciated.
-
programmatically log into yahoo or godaddyI found this link: http://www.dreamincode.net/forums/topic/152297-c%23-log-in-to-website-programmatically/ and it kinda shows how to log into a twitter account. Im trying to do the same thing to a yahoo account or godaddy account or anything else just to understand this more. Can anyone show me how to log into something like yahoo or godaddy or something else other than twitter? Please any response any one can give me will be greatly appreciated.
-
Using C#, how can I log into a website and click ContinueAny chance, any one can help me put together a simple C# program that accesses a website, logs in with a user name and passcode and clicks Continue? Or do you know of a sample project that I can find? Please, any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
-
How to remove 'The publisher could not be verified. Are you sure you want to run this software?'I know how to make IE not prompt this error. How can I compile and distribute a program that wont trigger this warning? Please let me know.
-
Printing Class Library PrintRotatedTextI just tried adding that code and recompiled and it still is left justified. :( Any other ideas and I'll try them. Please any response any one can give me will be greatly appreciated.
-
Printing Class Library PrintRotatedTextThere is a great article here: Printing Class Library[^] on how to print. I have read the article since 1999 and am hoping there are others out there that use this class. There is this function: pPage->PrintRotatedText(2.30,0.72,0.50,0.85,TEXT_NORMAL|TEXT_NOCLIP,9,"some text",90*10); which will rotate the text 90 degrees. My problem is, the text is rotated and left justified and I need it to be rotated and right justified. If I try changing the flags to TEXT_RIGHT or TEXT_CENTER, the text still is left justified. Any chance, any one knows how to rotate text and make it right justified. Im trying to rotate these numbers and it looks silly having them left justified. Please, any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
-
Can a VC++ application be converted to the web?Lets say you have a simple project in VC++. Is there an easy way (or a way) to compile that project so that the program can be run as a web application? If so, we visual studio compiler do you need to do this. Please, any response any one can give me will be greatly appreciated.
-
Debug VS2005 applicationThank you. That worked.
-
Debug VS2005 applicationI have VS6, which is a great little compiler. If I had an error, VS6 showed me the error and what lead up to the error. That is, what functions where called before the error. That helped me spot where the error was. Im using VS2005 and when an error arises, I just see the error. Is there a way finding out what functions were called just before that error was committed? Please let me know because that will be help me debug an application Im working on. Sincerely, Danielle Brina
-
How can I set the size of a popup CDialog?I have a dialog box that pops up in my application. But the popup box is very large. How can I programmatically set the size of that popup box? Please any response any one can give me will be greatly appreciated. Sincerely, Danielle Brina
-
Formatting CEditI thought about that. Two edit boxes just complicates it. You type in a number 1234 and then tab off to type in the cents. Its faster to just type in the number as is. I thought about adding a vertical line to the edit, but have not figured out a nice, simple, clean way of doing that. I found a program on the web that looks like it has the feature Im looking for. Its just a simple edit box and you can see the form in the background of that edit. If you know how to draw that line in the edit box, that would be great.
-
Formatting CEditI have a CFormView with a large bitmap of a form. I lay an edit box on top of the form where the user would type in a value. The image of the form has a vertical line that separates the cents from the dollars. The edit box, even though its white or light shaded, covers or blocks that vertical line of the form. How can I make the edit box see-through so that you still see the background of the form in the edit box? I tried making the edit box transparent or the bitmap transparent or one transparent and the other not and no combination is working. Please any response any one can give me will be greatly appreciated. Sincerely, Danielle
-
VB6 vs VS2005I have vs2005. Someone put together a project for us in vb6, but when I try to open in vs2005, it converts, but doesnt compile and I dont really see the source code. I have projects in vc6 and those will convert to vs2005. Does vc6 exist? Is there a way of downloading it?