Jump to content
Xtreme .Net Talk

mookie

Members
  • Posts

    22
  • Joined

  • Last visited

mookie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. i havent tried c# yet but i know its similar. i ddint know if there was an advantage to using it over vb
  2. what type of scanner are you llooking at retrieving data from? a flatbed scanner, barcode scanner?
  3. ok, im still not getting this right. what im trying to do, is list a number of aliases into a list box. this gets done by loading a text file, and looking at each line for the word "*commandalias". I then split the alias into a list array by the following dim list() as string list = split(newline, " " ) what i need to do then is remove the quotes from the string in the text file. im currently doing the following Dim str As String Dim newstr As String Dim id As Integer Do While InStr(list(1), Windows.Forms.Keys.OemQuotes) <> -1 id = InStr(list(1), Windows.Forms.Keys.OemQuotes) str = Mid(list(1), id + 1, Len(list(1))) list(1) = str Loop the problem im having is that it doesnt remove anything. If i replace the str = Mid(list(1), id + 1, Len(list(1))) with str = Mid(list(1), id + 2, Len(list(1))) I remove quotes from most strings but then i start removing the actual word. such as """""word""" ends up "ord"
  4. Im not just doing the program files folder. Im creating aliases for a program
  5. close but that gives me double quotes. Im looking it up for the single but its obviously not 22 either
  6. im trying to save the text from a string as "c:\program files" but when i do this chr(windows.systems.forms.keys.oemquote) & "c:\program files" & chr(windows.systems.forms.keys.oemquote) i end up with a funky result
  7. you guys are so over my head right now.:) its ok though . I think ive gotten it to work the way i want.
  8. actually, I didnt have them in the .vb file. when i looked at the form in design mode, the editor would be blank. but when i build it and tell it to ignore errors, the control still appeared.
  9. im getting an error that tells me that the control 'rLogikText' is ambiguous in the namespace 'rLogikText.Windows.Forms.Edit'. this comes up 20 minutes after i put the control into the form and continue coding. Im not sure what it is that im doing wrong.
  10. the code that im watching has the problem. one other thing that i saw was something like this interface mashed potatoes implements gravy end interface. apparantly i cant have an implement inside of an interface?
  11. I must say that ive learned more about code structure in the past couple of days that i have in the past year by decompiling some code. most of it works but i am having a couple of problems that i cant figure out. Im decompiling a couple of programs so that i may find out ways to accomplish the tasks i would like my program to do but Im not sure of the following things. Private Function Windows.Forms.Edit.IScrollBar.get_Enabled() As Boolean Implements IScrollBar.get_Enabled Return MyBase.Enabled End Function this is how a couple of functions came up in my code. I dont understand why i cant do this. actually, they were declared as private overrideable too.. <DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), Browsable(False)> _ Public ReadOnly Property IsThumbTracking As Boolean Get Return Me.isThumbTracking End Get End Property I dont understand what the begininng "<information>" is used for so i havent messed with it. another big issue thats getting me is this Property KeyBindingProcessor() As KeyProcessor ' was public set and get public Get Return Me.m_keyBinder End Get public Set(ByVal value As KeyProcessor) If (value Is Nothing) Then Throw New ArgumentNullException End If Me.m_keyBinder = value End Set End Property It works if i remove the "public" from the code but im just confused as to why it was accepted in the first place..
  12. shouldnt the following code work? imports system.reflection namespace test public class ugh dim thisdontwork as assembly end class it tells me that the type is not declared
  13. Im looking at some code through reflector and its using a delegate.... I dont know what its used for and how its created as i dont have the option for just creating a delegate file allthough thats how it looks to me.
  14. heres another question to go along with this control, Can I use 2 different status bars for this? or might it be better to use a status bar at the bottom of the window to display the cursor position for each richtextbox?
  15. Thanks. I kinda realized this a couple minutes ago but was still questioning my self due to i didnt really think that i would have to do something to the effect of _changed = true changed = _changed thanks though
×
×
  • Create New...