|
first off all you have you're toolstrips visible property set to false (then it is normal you don't see you're toolbars even at design time (only when selected will they become visible) so for design purposes set it to true) then here is what I did to get it working (everything done in the document outline window)
put the 2 toolbars back on the form
delete BOTH toolstripcontainers (you only need one wich we will recreate)
make sure ts1 is the first one in the list under form1
select ts1
(not done in document outline)
choose embed in toolstripcontainer
put 'dock' property from toolstripcontainer1 to fill
(back in document outline)
drag both ts1 and ts2 to the 'ToolStripContainer1.TopToolStripPanel'
this should do it
now you can put the visible properties back to false
to make sure order of controls in document outline:
toolstripcontainer1
ms1
statustrip1
everything else
|
|
|
|
|
their's menu bar is the only thing i can see on the form
what's worng
i done exactly as u said
|
|
|
|
|
that's normal since your visible property is set to false
for testing set it to true that way you are sure it is displayed if you still don't see the toolstripbars then I suggest you make a new form and all you do is add the toolstrip and the container, test it a bit untill you are sure you can implement it with other controls
I got it working with you're form so it is possible (I can't send it back to you beceause I had to delete a control and alot of code to get it to build (don't have all you're dll's and custom controls))
|
|
|
|
|
plz can u send me the form and the code
that will help me a lot
plz
|
|
|
|
|
I'v send the entire project in a reply to the mail I got from you so normally you should get it (I hope)
|
|
|
|
|
had to adjust the mail a bit
apperenatly you're virus scanner didn't accept it because there was an exe in the zip file
I hope it works now (just send you my 2 forms (you'rs and my example))
|
|
|
|
|
Hi,
I am having the multipage document. i want to print pages one by one. when first page finishes printing it must show me the message, then ask me whether i want to continue.If yes then go for next page and same process.
I tried lot but i don't find answer.
Please help me.
|
|
|
|
|
Hello,
I'm developing one project in VB6.0
My system monitor size is 15"..
While I execute the project in 17" monitor;
the maximized window shows so many empty spaces..
Suddenly I change the settings to 17" monitor, afterwards another
problem arises while I execute the prg in 15" monitor..
Is there any ways to rectify this problem..
Please help me...!
Suresh P
+91 9944629822
|
|
|
|
|
1 - use .NET ( VB6 sucks and is a dead language )
2 - write code that handles the resize event and resizes all your control manually
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Thank u for ur reply...!
But I don't know .net,
Now only i'm learning that..
Anyway I thank u for ur suggestions/ideas..
|
|
|
|
|
use the property's 'anchor' and 'dock' (I think there only available in .NET (never programmed in vb6 so don't know if they are available there))
if they aren't available you'll have to wirte the code yourself like Christian Graus said
|
|
|
|
|
No, those properties don't exist in VB6. You have to handle the form's resize event and calculate the new position and size for all your controls yourself.
|
|
|
|
|
Where can I get an object that allows me to specify a URL and have the website returned to me in a string.
something like:
strWebPage = geturl("http://www.cnn.com")
I could then parse strWebPage at my liesure.
|
|
|
|
|
I think you want the HttpRequest/HttpResponse classes.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
You handle your paint event and draw whatever you like in there.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hey you,
It on VB.net Windowsform:
. Declare a Graphics object
. Assign the Graphics property of the procedure's PaintEventArgs argument to the new Graphics object:
Dim gr as Graphics = e.Graphics
Can you tell me how to do it on VB.net webform?? I don't know how do i do? Please help me if you can!
Thanks very much!
who i am? i am....
|
|
|
|
|
Oh, I didn't see the webform part, I just assumed you were in the right forum.
You can't, there's no such thing as a paint event from the point of view of the HTML and javascript you generate for a web page. The best you can do is create a bitmap on the server side, and send it down to an img tag.
Google maps do it by creating multiple smaller bitmaps and placing them on top of a larger one. You can do the same, by creating img tags with the items you want to superimpose, and then using CSS to float them above an image.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Ok. Thanks for your advice and by the way my image is a dynamic one.
But what do you mean by speaking about Google map? Do you mean in Google earth? I doubt that Google earth uses Windows form under their own software. And my question is how to tick a point on a map display on Web Form using web browser.
who i am? i am....
|
|
|
|
|
Would Google maps API work for you?
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
The customer wants to sell a vb.net app by the 'seat' The application uses SQL. Here's my thoughts:
There will be an encrypted key. One of the fields will be # seats.
There will be a user logon table, one row for each seat.
When the app starts it will stuff it's workstation id in the table, and the TOD. Then every 5 minutes, the app will update the TOD field.
When the app quits, the table entry is cleared.
If we can't find a blank row, we look at the TOD fields, if none are more than 5 minutes old, then all seats are taken.
|
|
|
|
|
Things to consider:
- this system would limit the amount of opened clients to the amount of PCs using the app. "Per seat" normally means per user. What if the user would like to open two clients for example to compare a live db with a test copy? Consider including a field for session amount in the table, so a user can open more than one session of the app. (a technique employed by SAP) This allows you to control that users don't simply use the same login for everybody, but will allow a user to open multiple (with a maximum number?) clients on the same machine.
- Using the workstation ID, or any other form of registration by PC (IP address, MAC, etc), will cause a lot of frustration among users, because it is very sensitive to problems with firewalls, anti virus programs, network problems, problems with an exchange server in the network, etc, etc. (trust me, this is from personal experience). Using only login IDs and some form of user management will save your customers and therefor you, a lot of grief in the short and long run. No need to predetermine the rows in the table, instead you simply limit the number of users. A user management module will also allow for easier adaptation when a customer wants to purchase additional seats in the future.
- the app will quit in unwanted ways (Murphy's Law), due to unexpected errors, power outs, etc. and entries may not get cleared from the table. Consider a way to regularly check whether sessions are still alive.
- Using this TOD (Time Of... Death, Departure, Didgeridoo?) the way you describe (ofcourse I may misunderstand you), seems superfluous to me, and I see it creating even more frustration. When a user logs in and the app closes in an unexpected way, the user would have to wait for five minutes before he can restart the app.
Hope this is of help to you,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Thanks for the response.
I am thinking along simple lines that the number of rows in the table limits the number of concurrent users.
I was planning on using the computer name (that you can easily get in .net) + user_name as the key, for a row in the license table, thus, a user could have as many instances open, but just use one license.
The one issue I have is when an app aborts without clearing it's license record. This is why I was thinking of having the app update it's license record every so many minutes, with the TOD. My logon logic could determine which records were 'stale' and zero them out.
What do you think?
|
|
|
|
|
Hello
I try to connect to Access Database, When i connec it give me this Error:
"Could not find installable ISAM"
Can someone help me???
This my connection also:
con.ConnectionString ="Provider=Microsoft.Jet.OLEDB.4.0;DataSource=E:\Documents and Settings\Assaf\Desktop\ProjectToBeSubmited\School.mdb"
Thanks in advance
Assaf
|
|
|
|
|
hi assaf,
every thing is correct except one
con.ConnectionString ="Provider=Microsoft.Jet.OLEDB.4.0;DataSource=E:\Documents and Settings\Assaf\Desktop\ProjectToBeSubmited\School.mdb"
in above connection string place Space between Data & Source like follwing
con.ConnectionString ="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Documents and Settings\Assaf\Desktop\ProjectToBeSubmited\School.mdb"
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|