thank you
If at first you don't succeed Redefine success J.Hardy
thank you
If at first you don't succeed Redefine success J.Hardy
i have had a look but i could not get a list of running processes i tried process. but there is nothing in that, thanks in advance
If at first you don't succeed Redefine success J.Hardy
that sounds great! could you point me to some articles on how to do that please (first solution)
If at first you don't succeed Redefine success J.Hardy
i would like to avoid the installer if possible, i would like them to be able to copy the .hnh file from computer to computer without installing it
If at first you don't succeed Redefine success J.Hardy
the point of it was so the people who use the .hnh dose not have to copy 7 files, just 1 .hnh if that make more sence
If at first you don't succeed Redefine success J.Hardy
modified on Tuesday, April 21, 2009 10:05 PM
hey, i am trying to make a new file extension, i have looked on the internet and cant find and thing. this is what I'm trying to do. when the user clicks on the .hnh it executes the exe in side of it, along side of the exe is a text file and i am aiming for the exe to write records in the text file inside of the .hnh, if someone could help or point me in the right direction that would be great. also i was not sure where to post this if there is a better place please tell me, thanks
If at first you don't succeed Redefine success J.Hardy
dam, oh well, thanks anyway
If at first you don't succeed Redefine success J.Hardy
sorry allow me to explain better, when i publish my application to a exe i need to store a array inside the exe(this will make the application grow in size), so next time when i open it the contents of the array will be there
If at first you don't succeed Redefine success J.Hardy
i am just wondering if anyone know(or have links) of a way to save a array inside the application code?
If at first you don't succeed redefine success J.Hardy
modified on Wednesday, March 25, 2009 9:52 PM
ok, thanks
If at first you don't succeed redefine success J.Hardy
well i had a look and could not find anything, sorry to ask this but can you give me a little more of a hint?
J.Hardy
i has about 20 different arraylist in it, just trying to remove a section out of each 1
J.Hardy
hey, this looks like a easy one but i'm stumped
For Each dal As ArrayList In My.Settings
dal.RemoveAt(Me.TabControl.SelectedIndex)
Next
basically what i am trying to do is for every arraylist remove a section of it, a error comes under my.settings saying that it is not a collection, can anyone help, thanks in advance
J.Hardy
dont worry i fixed it i just had to put
My.Settings.ArrayName = New ArrayList
but thanks for your help
J.Hardy
modified on Wednesday, March 4, 2009 2:04 AM
basically if i put this
My.Settings.ArrayName.Add("moo")
it returns: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object.
J.Hardy
i have the code below
MsgBox(Me.tbtitle.Text)
My.Settings.ArrayName.Add(Me.tbtitle.Text)
the "Me.tbtitle.Text" has "moo" in it, but when i do the above value in the settings say that i put a null value in, the msgbx confirms the value "moo" before it add it, also ArrayName is a array list with the scope set to user plz help
J.Hardy
hey guy thanks for all your help :)
J.Hardy
hey, i tried a new way to trap the enter key press event, so it dose not matter what control on the form has focus the enter key will be trapped, can someone correct me please <pre>Private Shadows Sub KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress If Asc(e.KeyChar) = Keys.Enter Then MsgBox("YES!") e.Handled = True End If End Sub</pre>
J.Hardy
that works fine thank you :thumbsup:
J.Hardy
hi i am using a stream reader to read a text file from the resource file, i have tried two way to read each line and put it into i combobox but i get the following errors, can someone point out where i am going wrong, thanks in advance
Using readfile As StreamReader = File.OpenText(My.Resources.mages)'Illegal characters in path.
Do
line = readfile.ReadLine
My.Forms.Main.cbspells.Items.Add(line)
Loop Until line Is Nothing
readfile.Close()
End Using
Using readfile As StreamReader = New StreamReader(My.Resources.magea)'Empty path name is not legal.
Do
line = readfile.ReadLine
My.Forms.Main.cbabilities.Items.Add(line)
Loop Until line Is Nothing
readfile.Close()
End Using
J.Hardy