User Profile

Collapse

Profile Sidebar

Collapse
EricBlair
EricBlair
Last Activity: Mar 5 '08, 04:45 AM
Joined: Mar 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for your reply! I can't use 100% because this is for setting an ajax control that only takes px units. So I need the browser space as provided by javascript, which I hope is returned in px units. Is it?...
    See more | Go to post

    Leave a comment:


  • How to get browser screen settings and apply to page controls??

    Hello,

    New to Javascript and was wondering if anyone can show me the following...

    I want to get the height of the browser's viewing area and then set a page control's height to that value.

    For example, I have a asp:Panel that has a certain default height in px units...I'd like to override that on page load or other event and apply the actual height of the browser's viewing area to it.

    Thanks...
    See more | Go to post

  • CreateProcessAsUser returns 1314, but privileges have been set right (I think)...help

    Hello, I wrote a windows service that is supposed to start an interactive GUI app. I realize a service will not readily do this so I've pieced together the code below to bypass that. However, the call to CreateProcessAs User always returns a 1314 error: 'A required privilege is not held by the client.'

    I realize from the doc's that the calling process must have SE_TCB_NAME privilaege to assign new privileges to the new process and...
    See more | Go to post

  • Need help on creating remote process with interactive GUI.

    I have this vbs script below that gets copied onto a remote computer by another script. However, this does not run the GUI app interactively, instead what it does is it runs psexec on the task manager. I had though that psexec would run an app as the user passed in but it apparently does not (unless I'm missing something)

    Anyway, I read somewhere that what i want to do might be better done through .net by copying an authorization token....
    See more | Go to post

  • How to retrieve remote machine console output (ouputstream)?

    Hello,

    Wondering if anyone might have insight into the following, and perhaps offer up some example code.

    I have a console process running on a remote machine. I need to get the output that displays on that console and display it on a client machine.

    Any hints, tips, advice, samples would be a great help!!

    Thank you in advance.
    See more | Go to post

  • I should have realized how sensitive threads are to timing.
    Instead of having aglobal DoneEvents, I need to pass it within this loop immediately because by the time I access it beyond here, it wouls have gotten out of synch. So I bundled that data for my callback into a lightweight class that takes the doevents and the method from within the loop and passes it to my worker method.

    The gist of the fix is as follows.
    ...
    See more | Go to post

    Leave a comment:


  • EricBlair
    started a topic Worker threads finish before main thread does??
    in .NET

    Worker threads finish before main thread does??

    Hello,

    I've written a simple app as a test to run multiple threads from a pool. I'm able to do this, but what's happening is that the main thread finishes before all the workers do. So the Console shows:
    "Main thread exits." in between the worker thread strings.

    Can anyone see what I'm doing wrong please?

    Thanks in Advance!

    Here's my code:

    Code:
    using System;
    ...
    See more | Go to post

  • EricBlair
    started a topic Update gridview without updating fields onscreen?
    in .NET

    Update gridview without updating fields onscreen?

    Hello,

    I'm new to using asp GridView. I'd like to click on a command button on a row and have that do an Update to that db row.

    The problem is I don't see a ShowUpdateButto n attrib on the commandfield. There is an UpdateText but this is no good without the button. Does Update work differently?

    I do not want to edit fields because the value to be set will always be the same so I imagine the best way is...
    See more | Go to post

  • Advice on best way to do a distributed type application??

    Hello,

    I need to launch an exe on any number of computers based a DB setting.

    I've read up on Webservices, Windows Services and Remoting. But I'm not sure which one is the best to use.

    My task is as simple as above, I set a DB field to a value and if that value corresponds to a particular computer on the network then an exe on that computer will be launched.

    My current thinking is to write...
    See more | Go to post

  • EricBlair
    started a topic Retrieving an image from a Response stream??
    in .NET

    Retrieving an image from a Response stream??

    Hello,

    I have a response that is solely comprised of a gif image.

    Does anyone have ideas about how to retrieve that gif and save it as a file?

    So far I have this, but I'm stuck:

    Stream aRespStream = aResponse.GetRe sponseStream();
    int aBuffCount = 0;
    byte[] aRespBytesBuff = new byte[2858];
    do
    {
    ...
    See more | Go to post

  • Network Logon Dialog takes full control over debug session...?

    Hello,

    Wondering if anyone has run across this and has some ideas?

    This is for C#/.Net VS 2005.

    I wrote some code that gets to a network login dlg through IE. That's the windows credentials pop-up that comes up so you can log into a server.

    The problem is, that the debugger will stop once the pop-up is issued and the code that is supposed to findwindow and enter the id and pwd will not run....
    See more | Go to post

  • EricBlair
    started a topic RichTextBox displays jagged formatted text, why?
    in .NET

    RichTextBox displays jagged formatted text, why?

    Hello,

    Wondering if someone might help on this...

    I write out formatted text to a file then load it into a RichTextBox.
    However the text that is formatted into a table displays like this below, all jagged. When I view the actual file, it is formatted properly and when I copy the text from the RT Box it is also formatted, it just displays wrong. Any ideas?? Is there3 a setting I'm missing?

    Header1...
    See more | Go to post

  • EricBlair
    started a topic Get the window handle of an HTML control????
    in .NET

    Get the window handle of an HTML control????

    Hello,

    I'm using mshtml to control a site through the browser.

    I'd like to be able to get the Handle (HWND) of any HTML control type (TextBox, dropdown, checkbox, list, etc, etc...)

    I tried casting the htmlelement type as a Control type but that doesn't work.

    None of the html or ihtml types from mshtml seem to have a pointer or handle associated that you can get from the control, unless...
    See more | Go to post

  • You probably need to Install the latest Reportviewer DLL's.

    Check it out:
    http://forums.microsof t.com/MSDN/ShowPost.aspx?P ostID=1259704&S iteID=1
    See more | Go to post

    Leave a comment:


  • EricBlair
    started a topic Register non-strongly named third-party DLL's??
    in .NET

    Register non-strongly named third-party DLL's??

    I have two weakly named third party DLL's that I want to convert to STRONGLY named DLL's so I can register them in the GAC.

    I'm not getting how to do this. The stuff I've seen seems to suggest that this can only be done for DLL's over which you have total control, and not 3rd party.

    But I may be misunderstandin g it. If I am, what are the steps needed to strongly name these and thus be able to register them in the GAC?...
    See more | Go to post
No activity results to display
Show More
Working...