|
i have to use number bulleting in a rich text box. i see there is no support for that.
|
|
|
|
|
Yeah, but couldn't you write the code to add the number bulleting to the text yourself?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
OK, But i have no idea to write code for number bulleting a text. I just know 2 property of RichTextBox (Selection Bullet and BulletIndent) and they r not useful for mu aim
|
|
|
|
|
I have a datagrid with a dataviev and i would like to have a form to open the dataline i dubbleclick on in the datagrid. Could someone advise me how to do this, or guide me to some examples.
Im a beginner so please take that into account when you anserw.
Regards
John
|
|
|
|
|
Send an email to Tdawg5345@yahoo.com and ill send you a tutriol.
Taylor B.
|
|
|
|
|
My Application Devoloped in VB.Net and Sql Server(Win Forms). Now the Client Ready to Use the App. He has International Branch offices. So he wants to use Windows Terminal Server. It is Nearly 2000 Users Working at the Same Time. Application Installed in the Server Only. How Can i get the Application Performance. Can i get the Performance instead of this. Please Give me Solution about this.
|
|
|
|
|
What do you mean, 'How can I get the application performance' ? Do you want to know how the app performs ? Write some stress tests and time them. There are code coverage tools in C++ and C#, and I presume VB.NET that will allow you to identify bottlenecks.
In future, if you want a faster app, write it in C#, or better yet, C++.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I have a HTML Document, which is always divided by 3 horizontal frames. In the botttom-most frame there is a number of links, Fx, links to Gif images, Txt documents, zip files etc. The number of links varies.
Now whenever a link in the 3rd frame is clicked in the web control, i want to open the file with the default associated program. This means, this must not happen in frame number 1 or 2, only in frame 3. I guess i have to use the event beforenavigate2, but how do i make sure the only links openable is in the 3rd frame ?
Can anyone help me?
Regards.
|
|
|
|
|
In the HTML code that defines your frame page assign a name to each frame, like
<frame name="frame3" .....>
Then in the HTML code that defines your links, add a target to the name of the 3rd frame like:
<a href="http://www.mysite.com/somepage.htm" target="frame3">Click Here to go to Some Page</a>
Robert
|
|
|
|
|
I am writing a windows service app to monitor for files that change. If I determine a file has changed I want to start another application that runs independent of the service app. Currently I have tried to use the Process.Start. When the newly started application encountered an error (that displays a message box) the error message ”It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application” was returned. I only want the service app to be responsible for starting the new application.
How can I kick off the new application with no ties back to the service app?
|
|
|
|
|
You have to go into the Service Control Manager and get the properties on your service. In there, under the Log On tab, make sure that "Allow service to interact with desktop" is turned on. If it's not, then your application doesn't run under the same desktop that the user sees. It'll run under a hidden desktop with no user interface. This is why your getting this error.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I understand why am getting the error. I don't want my service to interact with the desktop. How can my service start a new application so that the new application can interact with the desktop not my service?
Thanks!
|
|
|
|
|
You have a choice: Either enable the service to interact with the desktop or don't launch applications that require a user interface.
Think of it this way: The service has to have "interact" enabled to launch an application on the desktop. If this is not enabled, the applications that the service launches inherit the security context of the local SYSTEM account, which is running under an invisible desktop with no UI. If you enable the service to interact with the desktop, any applications launched by the service will inherit the security context of the User that's logged in on the visible desktop and, hence, your launched app will be visible.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks for your help. Now that I understand the choices I can decide how to set up the service.
|
|
|
|
|
I need to open an existing word document from vb.net webforms on the click of a button.
If i do a response.redirect, The word doc is opening in the borwser but i am not getting the tool bars.
I need the user to make changes to the document and click save to save it back to the server.
if the do like this
Dim word_server = New Word.Application
word_server.ChangeFileOpenDirectory("c:\aa\")
word_server.Documents.Open( _
FileName:="t.doc", _
ConfirmConversions:=False, _
ReadOnly:=False, _
AddToRecentFiles:=False, _
PasswordDocument:="", _
PasswordTemplate:="", _
Revert:=False, _
WritePasswordDocument:="", _
WritePasswordTemplate:="", _
Format:=Word.WdOpenFormat.wdOpenFormatAuto)
my system just hangs.
I have added the reference to word object library.
Any clues how this can be done??
|
|
|
|
|
Keep in mind that a webform is really just a template for ASP.NET to generate client side HTML. ASP.NET ONLY GENERATES HTML ON THE SERVER SIDE! It doesn't execute any VB.NET code client side.
Now, the code you supplied in your post is executing on the server, not the client. Your code just hangs because it opened the document on the server and since the web server doesn't have a desktop and UI, it just hangs.
Word can open files from an HTTP address, but by default, the users don't have Write permissions to the server. It's not a matter of coding this, but just giving the proper permissions to the ASPNET user account and making sure that IIS is properly configured to allow client to write to the folder where the website is stored.
But, keep in mind, you'll run into concurrency issues if two or more people decide to open the same document at the same time. Ye who saves last overwrites everything everyone else has done.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hai,
Everyone who know that how to use the install.inf file to perform the silent installation?? i mean that what are the coding in the .inf file to perform silent installation!
Example: the coding can hide the next button when perform installation!
Thanks for ur!!!!
|
|
|
|
|
This question has nothing to do with the VB or VB.NET languages...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
In vb.net I want to accept the project name from the user and then read all the form names from the project and then again i want to read all the control names in the form and want to display it in the label.
Can u pls tell me how to get the form names in the given proj.
thank u
|
|
|
|
|
is there any easy way to print text in a richtextbox? (There is no image or icon in TextBox just text in different size and font.)
|
|
|
|
|
|
hi i wrote a code that read the emails, i want to save the emails the have attachments in a msg format, i want a code that help me to do it, so can iany1 help me
Thanks alot
Hamody
|
|
|
|
|
Hi to everyone,
I am developing a winform application in VB 6. I want to know if there is a control where in you can put numerous controls into it and then you can view them by scrolling down or up.
|
|
|
|
|
Hi,
Panel is control u r looking for ................don't forget to set AutoScroll Property of Panel to True................
Hope this will help u.................:->
Regards,
Ritesh
|
|
|
|
|
Hi,
I have listed a code with a suitable example for 'Panel Control'
Creating Repeated Controls :
----------------------------
1.Place a PANEL Control Class , Two BUTTON and Two LABEL on Form.
2.Set the AUTOSCROLL property of PANNEL is TRUE.
3.Write the following code within a FORM as follows…
'--- BEGINS
Dim txt As TextBox
Private Sub Button2_Click(…) Handles Button2.Click
Dim a, y As Integer
y = 10
Panel1.Controls.Clear()
For a = 1 To CInt(TextBox1.Text)
txt = New TextBox()
Dim Lbl As New Label()
Txt.Location = New Point(20, y)
Lbl.Location = New Point(2, y + 3)
Txt.Width = 75
Lbl.Width = 25
AddHandler txt.Enter, AddressOf CursorGotFocus
Panel1.Controls.Add(Txt)
Panel1.Controls.Add(Lbl)
txt.Tag = a
Lbl.Text = a
y += Txt.Height + 5
Next
End Sub
Private Sub CursorGotFocus(ByVal sender As Object, ByVal e As System.EventArgs)
Dim C As Control = sender
Label2.Text = "Cursor On " & C.Tag & " TextBox....! "
End Sub
Private Sub Button1_Click(…) Handles Button1.Click
Dim T As Control
Dim Result As String
For Each T In Panel1.Controls
If TypeOf T Is TextBox Then
Result &= T.Tag & "." & T.Text & vbCrLf
End If
Next
MsgBox(Result, MsgBoxStyle.Information, "")
End Sub
4.Run the above code and Enter TEXTBOX that How many TEXTBOXES to be Created .
5.Press the Browser BUTTON (…).
6.Enter the Data into Created TextBoxes within the Panel.
7.Press the Button Labeled Show, The Given data are displayed on MessageBox.
8.In Label which was placed under the Button Show, Displays that current cursor location. ('Enter Event raised).
9.In .NET , ENTER Event worked as GOTFOCUS Event on Classic VB.
With Regards,
PANDIAN S
|
|
|
|