|
ProSlacker wrote: My first post after lurking for a few years and I make a fool of myself
Hi ProSlacker,
May I slightly disagree with you, and suggest you've demonstrated you are a virtuous person who is self-confident enough to publicly correct the kind of mistake anyone can make with a sense of humor in a pro-social way ?
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|
|
Hi all
I was wondering if anybody else has experienced this problem. Because it is #$^^)@& me off and I am minutes away from never using the IDE again. lol.
When I am placing controls around on a form at design time, then I save it. Exit Visual Studio, and reopen that same project, Why does visual studio stuff up the positioning of all of the controls? I mean, it never used to happen, and now it happens all the time. I have to keep on re-positioning everything all over again.
Thanks,
jase.
|
|
|
|
|
That's often a sign of a read-only file (I've had that myself).
If you're using integrated source control, it's possible that it doesn't realise you need to check out the file when you make changes in the designer.
If you're not using any kind of source control, then maybe the file has somehow become read-only by some other means.
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
Please Help!
I need to create a designed html form which will be placed on my laptop offline.
I would like customers to be able to come into the office and register their details using this form and all the data would be sent to an excel document. Is there any way of doing this without having to use a server. I tried to send the form to email option but it only opens up my email when I do this which I do not want.
Any help would be great.
|
|
|
|
|
I'm looking for a simple control (like a Text Box or Rich Text Box) to display formatted HTML in.
What I am creating is an email viewer for our server. Administration needs to be able to select a message from the list and its contents should go to the control.
The closest thing I can find (in Visual Studio 2005) is the WebBrowser control - but I don't want to give the browser a file to display. I simply want a way to show HTML formatted text (tables, unordered lists, hyperlinks, etc.).
Has anyone done something like this? What could I look into as far as research goes?
|
|
|
|
|
You can use the web browser control without a file (if that is what your aim is).
Try the following
webBrowser1.Navigate("about:blank");
webBrowser1.Document.Write("<html><body>Test</body></html");
|
|
|
|
|
Thanks!
I've used Document.Write in javascript to display output on the screen, and I can do that on one line then add more several lines down. Now I have a follow-up question about Document.Write:
Does this call to webBrowser1.Document.Write() erase the last write? If not, how would I clear it?
|
|
|
|
|
Hi,
IIRC WebBrowser.DocumentText=string; is to HTML what RichTextBox.Rtf=string; is to RTF.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
That makes it very easy! Thanks, Luc.
|
|
|
|
|
you're welcome.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
With VB.net, is there a way to get at the individual pages in a printpreviewcontrol? I need to create bitmaps of each page but thus far I've only been able to get the last page. Draws perfectly, but I've not been able to get all the pages. I need to reproduce each page exactly as it appears in the control so I can save them as frames in a .tif file.
Any suggestions are appreciated. Doesn't have to be via the PrintPreviewControl as long as I can get the images.
|
|
|
|
|
Hi everybody
i have a user control with me. And when i drag it on to a form and trying to resize it using my mouse the controls present inside the usercontrol are not effected and so when i decrease the size at an edge the controls that are present at that edge r becoming invisible....
I read that this can be done using the anchor property.
By default the anchor property is set to left and top. and if we make it as all(left,top,right,bottom) then we can achive the resizing...
But its not working in my case..
Actually what i am asking is if i am reducing the usercontrol size all the controls present inside the user control should reduce proportionately...so that every control will be visible..
This is the problem when resizing at design time
Now coming to the runtime.
Actually, my user control contains two panels.One below the other and a button on the 1st panel. On alternate button click the second panel will be visible and invisible accordingly.. Now when i place the same user control one below the other in a form,and in the 1st user control when panel2 became invisible there will be a space between the usercontrol1 and usercontrol2 so i dont want this, thats why i want the usercontrol2 to move up when ever panel2 in the usercontrol1 is invisible, and when it is made visible again usercontrol2 should move down..
I read that this can be happened by making the docking property to true of both the usercontrols to top but even then i am not able to achieve what i need. because the size of the user control is not changing and so even if we use the dock property the usercontrol2 is not moving up...
Can any one help me sorting out this problem.....
|
|
|
|
|
honey.rpk wrote: I read that this can be done using the anchor property.
honey.rpk wrote: But its not working in my case..
Say, you have a panel containing a textbox in a form. If you anchor the textbox, it is with regards to the Panel's boundaries. And if you forget to anchor the Panel, all the effect is lost. Check if you have done something similar.
I would recommend using TableLayoutPanel to place the controls. That would really help in doing anchoring docking stuff.
You can avoid this moving up and down of panels by placing them at the same location and then toggling the visibility on button click.
|
|
|
|
|
If I interpret your recent posts correctly, you are trying to design what is generally called an 'Explorer Bar', like the left hand pane when you open MyComputer. If I am correct, take a look at Windows XP style Collapsible Panel Bar[^]. If I am wrong, please ignore this post.
There are lots of examples of this type of control, both on CP and on the 'web generally. Just search, either in CP Articles Search Bar or Google or Bing, for explorerbar.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi Henry Minute
You are correct to some extent.
I need a control of almost an explorerbar but what i need is in a explorer bar i can not add any controls to the header, i can just change the text of that. But i need a control which works like an explorer bar but with an extra feature of holding some controls of any type(eg.. Button, panel, textbox).
I think you got the point what i my aim is to do...
If not i will explain you some more detailed an clear manner... if you come back to me..
Thanks & Regards.....
|
|
|
|
|
honey.rpk wrote: But i need a control which works like an explorer bar but with an extra feature of holding some controls of any type(eg.. Button, panel, textbox).
The reason that I pointed you to the article that I did, and gave you a search term is that those controls all perform the collapsing of the panels and moving the others to remove the empty spaces. All you have to do is to use the panel control that you already have and the code for avoiding excessive empty space from the ExplorerBar and put them together.
If you have any hopes of becoming a programmer this is the sort of thing that you must learn to do.
If you cannot follow the code in the link I gave, do a search, pick one or two of the others and work through the code in them. After that you should at least have some idea about how to do it, then have a go at building your own.
I'll give you a clue: In most of them it is the Bar that holds the panels that moves the panels. There is nothing to stop you from allowing these bars to hold other controls.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
What problems are you having while trying to do this? I don't think many are going to just hand over complete code, but if you cite a specific area where you are having issues, and show some problematic code, then you may get more help.
Also, if you are just trying to open a file from a server then why are you using a web service? I would think you can configure things to just open the file directly. BUT, keep in mind that a file that is 1GB is size will be ridiculously slow to open over a standard Internet connection. In this case a web service MAY help if you can open the file on the server side and send the content up to the client in chunks. However if you plan to have multiple people access this file, and you need to be able to do updates and stuff, then you will more than likely have some concurrency issues.
Perhaps some more detail about what you are trying to ac hive is also a good thing.
|
|
|
|
|
My friends,
I request u to help me in sorting out a solution for a usercontrol made up of two panels.I like to implement expandable and collapsable features to usercontrol.So that the child controls or usercontrols placed below it should shift upwards and downwards along with the shift of usercontrol.
In the same usercontrol,if i want to resize the usercontrol at design time.how can i do it?
|
|
|
|
|
There are remarkable similarities between your post and this[^] one here.
Looks like a case of multiple user id of same person to me.
|
|
|
|
|
No i dont know why this is happening i dont know who is mahi@swetha...
actually i have been given a work to develop some thing similar to xpexplorerbar but with an extra option of the header holding controls... thats it i dont know about his work....
|
|
|
|
|
See my reply to honey.pk, a couple of posts above this one.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Mr.Henry,
Thanks for the reply.I viewed ur reply to honey.rpk about my posted thread.But what i need is that i want implement expandable and collapsible features without the use of dock property by which i am able to sort out issue.Also, I saw ur sent link about windows explorer bar or collapsible panel bar few days back itself.Apart from this,We were finding trouble in viewing design part of either of the bars because they are developed using earlier versions of Visual studio.
So,please help me in sorting out this problem.........
Thanks,
With regards,
Mahi@swetha.
|
|
|
|
|
When solutions and projects are built in earlier versions, your current version will convert them very easily. Just follow the wizard. If they will still not convert then use the CP search, Google or Bing to find other, more recent versions.
Stop trying to get other people to do your work for you and buckle down to doing some yourself!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Mr.Henry,
Please dont mistake me to reply u like this.Everytime,u use to reply me more or less like this "Stop trying to get other people to do your work for you and buckle down to doing some yourself!".Iam just posting the thread as iam failed in taking few measures.Bye,Here after,I wont post threads.Thanks for ur suggestion.
|
|
|
|