I have designed a word processor with some special features anyways I can save the file one time but then after that I get a fileaccess error saying it is being used by another process but its not the only process was the savefile. Does anyone know whats wrong? Please help!
Bso_Cool
Posts
-
Getting an error From Richtextbox1.savefile -
How to Set a Files Properties ex. Author, Comments...I am creating and saving rtf files but I want to be able to put in the Author and comments about each file but I can't figure out how to set these properties in code. Can anyone help me. I appreciate any comments you can give.
-
A New Line in a LabelI forgot how to do this and I am not exactly sure how to search for it. But I am displaying 2 texts in the same label but I want them to be on different lines. I have seen it before but I have forgotten how to do it can someone please help me! Thank You!
-
ListviewI am developing a program that will keep in inventory of items that we have plus I want to be able to write an order for each person individually. I am trying to use a Listview control, but I want to just be able to scroll across and in each row and column edit the quantity to order for each person. But the labeledit property only applies to the first column. I have done a lot of searching and all I can find are program that will do this in C and I can't really even get those to work right for me. Does anyone have a suggestion? Any suggestions would be appreciated. B.
-
Printing ProblemWhat I a trying to do is Print a bunch of text which I get from a text file. I have been able to do that no problem but when I get to the end if there is to much text, I can't get it to go over onto anther page it either just ignores the rest or when it does actually print it it prints it over what I have already done on the same page. I have tried and tried on the e.hasmorepages and it does nothing for me when it actually does some what work it just goes and tries to print XXXX amount of pages instead of just like 2 or 3. I do save my spot of where I last printed on the last page, but it won't start a second page to start printing on that 1. can anyone Please Help Me? Here is a sample of my code, that is to determin when to stop. CurY is the Y location of the Printing Page. QNum is the Number of line so far I have Printed and TotCount is the number of lines I have left to Print If CurY >= 1000 Then Hault = True e.HasMorePages = True StoppedNum = QNum End If If QNum = TotCount Then e.HasMorePages = False End If If there is a better way please let me know! I Thank You for your Time, and Patience! It is always Coffee Time!
-
Uploading a file.I am designing a program for my father and he wants to be able to access a file from anywhere through the internet. He has an ftp space available on AOL, and I have got it to be able to download that file but I am unable to upload a file to it. I have code for it and it goes through the process and I never get an error saying that something went wrong, I even have it when it is finished I get a message box telling me it is done, and I get the message. Here is my code for the upload. Dim c As WebClient = New WebClient Dim FileName As String = Path & "\Limo Bookings\LimoBookings.run" Dim URL As String = "http://members.aol.com/XXXXXXX/" Dim responseArray As Byte() Try responseArray = c.UploadFile("http://members.aol.com/XXXXXXXX", "POST",FileName) c.Dispose() MsgBox("Upload Completed!") Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error") End Try I appreciate any suggestion you have! And I Thank You in advanced!
-
Combobox items Clear problemI am populate a combobox when they type each letter, so as they type a each letter words that apply to each letter is populated in the combobox, but I am having a problem when I clears it while they are typing it starts back at the begining so instead of them typing "abc" it goes "cba". Does anyone know how to make it so it doesn't do that? Here is sample of my Code: Title = ComboBox1.Text FileOpen(1, "/Titles.txt", 1) ComboBox1.Update() ComboBox1.Items.Clear() Do While Not EOF(1) Input(1, Titles) If Title.ToUpper = Mid(Titles.ToUpper, 1, Titles.Length) Then ComboBox1.BeginUpdate() ComboBox1.Items.Add(Titles) ComboBox1.EndUpdate() A = True End If Loop FileClose(1)
-
How to tranfer an object from Form1 to Form2I am trying to move a label from form1 to form2 and I don't want to have to create another label on form2 and transfer all the information it carries to the other form and then back again. So what I want to do is just move the label from form1 to form2 and then later back again. If anyone can help it would be greatly appreciated. Thank You!
-
Card Game ?What I am trying to do is make a card game but in the hand there is not always a set amount of cards I am using labels for this I got it to create the labels as needed but what I am trying to do now is get it to where if the click on the card it moves up a little to signify that it has been selected but I can't figure that part out on how to do it. Here is an ex. of the code I am using to create the first part of the hand. For N = 1 To 13 Label(N) = New Label Label(N).BorderStyle = BorderStyle.Fixed3D Label(N).BackColor = Color.Maroon 'PlayersHand is an Array with all the Card Numbers in them. Label(N).Text = Player1Hand(N) Label(N).Size = New Size(Label1.Width, Label1.Height) Label(N).Font = Label1.Font Label(N).TextAlign = ContentAlignment.MiddleCenter CardX = CardX + 50 Label(N).Left = CardX Label(N).Top = CardY Label(N).BringToFront() Me.Controls.Add(Label(N)) Next If anyone can help me I would really appreciate it. Thank You for looking!
-
Question About TransparencyI have already have it set that way! But Thank You for you time.
-
Question About TransparencyI have a form that is TransparencyKey is set to White and the background is set to white and it comes out transparent, but then I have 2 pictureboxes that have a transparent image(an image with a transparent background), but it takes the background of the form, instead of the desktop. And I do have the me.allowtransparency = true. Does anyone have an Idea as to how just get the image to show and just the image no background color? I would appreciate any suggestions. Thank You!
-
How to Print in .Net like in VB6I am still a little new to vb.net and I tried to print to the printer like I did in vb6 and it has changed I have done some research on this and found some tutorials but with no luck on what I am looking for. An ex. of the code would be like Printer.Print "Whatever" but when i go Printer.Print("Whatever") it gives me an error message. If someone could help me out with this I would really appreciate it. Thank You for you time. B.