Search:

Type: Posts; User: FlyingBear

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    0
    Views
    622

    VS 2010 print html as landscape orientation?

    is there any way to print print html file as landscape orientation directly without showing preview dialog?

    In my project, I need to print out multiple reports generated as html file. some should...
  2. VS 2010 Re: can we embeded a word file in application?

    here is what I found, but it does nto work for .net vs2010 anymore.

    http://support.microsoft.com/kb/304662
  3. VS 2010 can we embeded a word file in application?

    can we embeded a word file in application?

    I mean can we use a form to show the word file with edit ability, such as change the image/text in the file and save it, print it? it seems we can do it...
  4. VS 2010 Re: Anyone doing any complex and non-database file storage?

    the benefits of sql is: it provides a standard way for code to access data, so you can focus on more important processing. if your data is large enough, usually, sql is faster too. I just learned...
  5. Replies
    11
    Views
    1,156

    Re: parsing a log file

    when you do this, you will need be careful if the data is sequential (the data depends on previous data).
  6. Replies
    11
    Views
    1,156

    Re: parsing a log file

    since you have to load all the data file anyway, and seems you can not skip any line because of the data, then you have no way to get around this (I think).

    suggestions:
    1) use threads to...
  7. Replies
    4
    Views
    1,298

    VS 2010 Re: raise event after mouse click?

    because the picture box is a user control, not the original picture box, I'm sure size to fit = false will not change the size back.

    yes, I'll try hook the MouseUp. How come I forget it, :)
    ...
  8. Replies
    4
    Views
    1,298

    VS 2010 raise event after mouse click?

    Hi,


    I have a picturebox on the form, when it is clicked, I want the picturebox to fit the size of the form, which can be done by
    pic.SizeToFit = true

    So, the picturebox will automatically...
  9. Replies
    1
    Views
    760

    reduce form flick?

    how to reduce form flick?

    I have a tab, which has an image in it. When an user double click, I need make the panel in that tab invisible and show another image (within the same tab). I finished...
  10. VS 2010 word file raw data from word document object?

    is there a way to get the raw data of a word file document object?

    word = new Word.Application();
    doc = new Word.Document();

    now, I open the word file, do some replace. save the file.

    I...
  11. how to scroll the toolstripitem in scrollable toolstrip?

    I have a toolstrip, which has a panel in it. the panel is autoscrollable.

    I added some buttons to the toolstrip, when added too many buttons, the panel will show a horizontal scrollbar. it works...
  12. VS 2010 Re: Mathmatics not adding up...so to speak

    intWeight = ctype(txtBxWeight.Text, integer)
    intHeight = ctype(txBxHeight.Text, interger)

    dim sigResult as single = ctype(intWeight * 703, single) / ctype(intHeight * intHeight,...
  13. VS 2010 how to make the panel scroll automatically?

    got a problem that I did not see coming before, :)

    in the form, I have a panel, the autoscroll = true, in the panel, i added a toolstrip which docks on the entire panel. from the program, i added...
  14. Replies
    2
    Views
    851

    VS 2010 edit word or pdf file?

    what I need do is: I have an original file, it can be office word file, or pdf file. In the file, there are some words that are encrypted, so, it reads like:

    blah, blah, this is the word: xxxxx,...
  15. VS 2010 Re: what's the correct way to share a hashtable in multiple threads?

    thanks for replying. here is what I'm doing:

    I have a control thread CT. in CT, it controls the multi-thread processing. say, totally, it has 10 threads for processing. when 10 threads are being...
  16. Re: VB 2010 Can I put a dll inside my program and use it?

    delete the reference, copy the dll to the exe folder, add reference from there. does it work? or, check "copy to local" .

    bear
  17. VS 2010 what's the correct way to share a hashtable in multiple threads?

    I have a program that are multiple thread. Each thread calculate some data independently. however, they will need share a hashtable which controls a hardware resource. because the resource is...
  18. Replies
    1
    Views
    607

    VS 2010 how to protect the program?

    I have developed a program, which will be installed by several users. How can I protect it, so, once installed, the users can use them on the installed pc, but not others.

    before, what I did is:...
  19. Replies
    2
    Views
    3,015

    Re: show current folder in folder browser?

    thanks. I'm using win7 64bits, tried on many machines, the same, the selected path is selected, but may not in the tree view. have to scroll down.

    thanks again.

    bear
  20. Replies
    2
    Views
    835

    Re: Web Browser inner text won't change

    it is because document complete may be fired several times depends on the page. you need check the document's url whether it is the one you want to load.
  21. Replies
    10
    Views
    4,268

    VS 2008 Re: Transparent label on a WebBrowser

    you misunderstand me. you can remove whatever you want to hide from the page's document directly. do not have to use a label to cover it.
  22. Replies
    10
    Views
    4,268

    VS 2008 Re: Transparent label on a WebBrowser

    once you got the document of the page, you can make changes to it directly. it is better than add extra panel.


    bear
  23. Replies
    2
    Views
    3,015

    show current folder in folder browser?

    Hi,

    I have a program load the saved folder (from last use) into a textbox, now, user click browse button, it launch the folder browse dialog, I can use selectedpath to set selected folder, but...
  24. Replies
    4
    Views
    988

    VS 2010 Re: folder shown in folderbrowser dialog?

    thanks. I did that, the selected folder is set, but the problem is: because there are many folders in c:\, so, when the dialog is shown, the selected folder is not in the current view (although it is...
  25. Replies
    4
    Views
    988

    VS 2010 folder shown in folderbrowser dialog?

    I'm using a folderbrowser dialog to choose a folder. however, the default folder is deep in the directory. when show the dialog, I set the selectedpath to the folder I want, but, the dialog does not...
  26. Replies
    0
    Views
    522

    VS 2010 what is local fax server?

    I need send fax from local fax modem. the big part of the code was done in vs2010, so the fax needs be done in vs2010 too.

    I found this, but then I'm confused. what is local fax server? does it...
  27. Replies
    12
    Views
    1,286

    VS 2008 Re: make database setting secure ?

    I do not know the answer. but, as long as you use it, people can track the code to where you make the connection, and get whatever info they want. what I mean is:

    I think you can not make it "not"...
  28. Re: Upgrading my app to Vbulletin - please help me!

    come on, why you want to PM users by app? looks like a typical spam bot.

    am i WRONG?
  29. Replies
    8
    Views
    1,003

    VS 2008 Re: Multi Threading

    you will need a thread to manage the thread pool which allocates the site to each thread, and monitor whether the thread is done (finished the work) and then release the thread back to the pool and...
  30. VS 2010 Re: run another program in the background?

    sapator, bascially, I agree with you. hardware related feature, c++ is the best choice although vb/c# may work too.

    back to the original question: solved!

    I just did a test, and found out that:...
  31. Replies
    8
    Views
    899

    VS 2010 Re: What is wrong with this code?

    it gets the href's url. just set a break after obj, check obj's property.
  32. VS 2010 Re: run another program in the background?

    anything can be done in c++, can be done in vb/c#, I believe it is true. however, it could be very difficult, since the project is related with hardware.

    the sdk comes with a sample, which can be...
  33. VS 2010 [solved] run another program in the background?

    is it possible to call another program in the background?

    I'n doing a project that uses .net to control a camera. the camera is nikon, which has a sdk. unfortunately, the sdk is an unmanaged dll,...
  34. Replies
    3
    Views
    1,068

    VS 2010 Re: call function in parent form?

    thanks. what about properties in main form?

    say in the class, I need use a property in the main form, and it may change in the main form (because of other input). now, I pass the form to the...
  35. Re: PLEASE HELP: Visual Basic Error Object reference not set to an instance of an obj

    one possible problem is: a & b files do not have the same # of lines. so, c & x, may return nothing. so, whne you do c.contains, it has error.

    use try catch to see the ex message.

    bear
  36. Replies
    8
    Views
    899

    VS 2010 Re: What is wrong with this code?

    1) you need make sure the page is loaded, the document is ready;

    2) WebBrowser1.Document.GetElementById("[ID FROM LINK]") is a htmlelement, sometimes, getattributes will not return correct value...
  37. Re: Creating and Calling Stored Procedure in vb.net / MySQL

    should it be the same (or at least similar)? I'm not sure now, but before, use the MySQL .net connector (or a similar name, can not remember exactly, but you can download from mysql site).

    bear
  38. Replies
    3
    Views
    1,068

    VS 2010 call function in parent form?

    Hi,

    I have a class inhert ToolStripButton. it builds a new toolstrip button. the button will be added to the toolstrip which is on main form.

    I will need call function in the main form. what's...
  39. Replies
    1
    Views
    624

    VS 2010 can not delete the file?

    I'm working on a program. It watches a folder for file changes. in certain cases, it needs delete the files in that folder. sometimes, it has this error:

    The action can't be completed because the...
  40. Replies
    2
    Views
    1,778

    VS 2010 Re: [resolved]FileSystemWatcher problem?

    thanks for reply.

    the problem is because the file size is big, when "created" triggered, the file is not actually ready yet.

    refer to...
Results 1 to 40 of 362
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width