CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: martho

Page 1 of 80 1 2 3 4

Search: Search took 0.31 seconds.

  1. Re: Error in str_misaligned in application in Windows 7

    Thanks for your replys that put me into the right direction.

    The code was okay, but a mysql-dll, which delivers the field-array, returns some null-pointers in Windows 7. Perhaps a mismatch of...
  2. Error in str_misaligned in application in Windows 7

    Hello!

    I have developed a big application on Windows XP. Now I changed my OS to Windows 7 with a new computer.

    I just copied the whole project and the settings of my Visual Studio 2005, and...
  3. Printing from WebBrowser-Control gives other styles then from Internet Explorer

    Hello!

    I use an application with a form with a WebBrowser-Control in it.

    I load the same webpage into the WebBrowser-Control und into an Internet Explorer -> they look exactly the same.

    I...
  4. Replies
    4
    Views
    3,261

    Re: String to long for Regex?

    You are right, thank you.
  5. Replies
    4
    Views
    3,261

    Re: String to long for Regex?

    Thanks for your reply.

    Changing the pattern to (see the bold part):


    Before:
    Pattern = "<a(.[^<>]*)href([ \\s]*)=([ \\s'\"]*?)(http://|https://)([^<>'\"\\?]*?)(example.com)([^'\"> ]*)(['\"...
  6. Replies
    4
    Views
    3,261

    String to long for Regex?

    Hello!

    I have a website loaded into a string which is 1262594 chars long. I want to do a RegExp-search on it to find all the links to a page like:



    Pattern = "<a(.[^<>]*)href([ \\s]*)=([...
  7. Replies
    0
    Views
    1,800

    Process.Start and encoding of output

    Hello! I'm trying to read data from a php-script I'm starting:


    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo.FileName = "\"" + sPhp + "php.exe" + "\"";...
  8. Replies
    4
    Views
    1,239

    Re: Getting ouput from Process.Start() in Vista

    Thats true, but we use XP and Vista in German Versions. So in XP it's language-dependend ("Programme"), but in Vista it's "Program Files" no matter which language you have. Thats why I didn't...
  9. Replies
    4
    Views
    1,239

    Re: Getting ouput from Process.Start() in Vista

    Thanks for your reply. I found out that it's because of the space in "program files" - you have to put the paramters in " to make it work.
  10. Replies
    4
    Views
    1,239

    Getting ouput from Process.Start() in Vista

    Hello!

    I want to call a php-script out of a C#-Application and get the output of the php-script as result:




    // Call PHP
    System.Diagnostics.Process proc = new...
  11. Replies
    8
    Views
    1,718

    Re: "bind" icon-file to form/notifyicon

    Thanks a lot - it helps to see someone suffering just the same ;-)
  12. Replies
    4
    Views
    1,112

    Re: How long will Sleep sleep?

    Thanks a lot!
  13. Replies
    4
    Views
    1,112

    How long will Sleep sleep?

    Hello! I have a multithreaded application. I was wondering, if I do a Thread.Sleep(10*1000), will it do a sleep of 10 Seconds in "thread-time" or in "real-time"?
  14. Replies
    8
    Views
    1,718

    Re: "bind" icon-file to form/notifyicon

    It's just while developing you see that the icon doesn't fit, so you change it, and I want to see the result quickly - and it drives you crazy to set the icon every time.


    Mine, too...
  15. Replies
    8
    Views
    1,718

    Re: "bind" icon-file to form/notifyicon

    Thanks again for your reply. But when I use ExtractAssociatedIcon and distribute the application I would have to add the icon-files, right? That would be a disadvantage.

    You say that a copy is...
  16. Replies
    8
    Views
    1,718

    Re: "bind" icon-file to form/notifyicon

    Thanks for your fast reply. The icon was already added to the solution-explorer. So in the Properties Window, I set the build action to "embeded resource" - but still the icon is not changed (even...
  17. Replies
    8
    Views
    1,718

    "bind" icon-file to form/notifyicon

    Hello! I have a form and a notify-icon and both of them have an associated ico-file. When changing the ico-file, you have to go to the properties and choose the icon again in order to make the...
  18. Replies
    4
    Views
    2,040

    Re: Debugging Multithreaded Application

    Thanks for your replys. Cleaning the project helped a bit aynand reduced waiting time to half.

    I'm using about 200 threads with semaphores, because we need to handle more than one resource.
  19. Replies
    4
    Views
    2,040

    Debugging Multithreaded Application

    Hello! I got a multithreaded application and need to debug it. My problem is that setting breakpoints is working, but from stopping the application to be able to watch variables, call stack and so...
  20. Replies
    4
    Views
    8,258

    Re: Webbrowser scale and print content

    Thanks for your reply. What I need is more like the zoom you find in IE7 at the right bottom, but done programmatically. This scales even images and pixel-layouts.

    Is this possible with the tool...
  21. Replies
    4
    Views
    8,258

    Webbrowser scale and print content

    Hi. In my application, I have a WebBrowser in which I load a webpage. This works fine, but now I want to scale the page (if the content is larger then my control) and then print the page (scaled, so...
  22. Replies
    4
    Views
    3,779

    Re: LoadFrame, but hidden

    Thanks, but this didn't work either. I made a small new demo-project and found that LoadFrame doesn't show the frame by default. I guess somewhere in the code of the 3rd-party-application they are...
  23. Replies
    4
    Views
    3,779

    LoadFrame, but hidden

    Hello. I have a 3rd-party MFC-app. I thought this was a simple task: I want to run the app with the main-window hidden.

    So I want to CTheApp::InitInstance() where the main-window is created:

    ...
  24. Replies
    3
    Views
    994

    Getting IDs for newinserted rows

    Hello!

    I insert some new rows into a DataTable and then insert the rows into the database via



    changes = dataTable.GetChanges();
    if (changes != null)
    { int nRowsUpdated =...
  25. Replies
    2
    Views
    1,635

    Re: Project conflicts with itself?

    Thanks for your reply. The strange thing was it was the SAME assemblie... I found that I somehow added a Reference to itself to the project. Now it works.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured