
sjn78
Avatar/Signature-
Posts
258 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by sjn78
-
I started my program with the intention of not using any graphics, ie icons in toolbars. But now I have decided to use them. They are all stored in imagelists, except the icons for the forms. The program is no where near complete and it jumped from around 100k to now 600k since using icons. At this rate, I believe it will probably end up around 10mb. I was just wondering what you guys think or recommend to do. Would it be better to contain all of the icons in a dll, therefore reducing the exe size. Would this make the program run any quicker?? I guess the load time would be shorter. Or is there a way to have your icons in a folder and directly call them to be used in a toolbar? Thanks for any assistance.
-
It's cool, don't worry. It is probably better not to have the delete key active as it may cause accidental deletions. I know what you are going to say next, that I should have a message box warning come up before actually deleting a name. It is a Mdi child form...maybe part to do with it. I will no doubt look into it in the future.
-
Thanks, works good although not on my app, I have a panel that fills the screen and then labels are generated to show each person. I cannot get the key event to work until I click into a textbox on the form. There is probably a way, but I'm not going to bother figuring it out now.
-
I have an address book similar to Outlook and I would like to be able to highlight a name and press the delete button to delete that person. I have set the KeyPreview value on the Form to True, but it won't recognise the delete key. What am I missing or is there another method to do something like this?
-
That is not possible as this is an application to run on individual home computers. So access, xml or text files are the only possibility. Not too sure about MSDE. You said MSDE is free, I gather it is available from Microsoft? Something I will look into.
-
Delphi is integrating .NET in future versions. Im not to sure on the web side of things as I have never done it. I guess that with Delphi going with .NET, you should be able to start doing this stuff.
-
Going back to Divil's comment on being no market for Delphi programmers. I'm not putting VB down in any way (I prefer it), but I have seen applications written in Delphi and they win hands down over VB apps. At work we have a contractor who does a lot of programming for us and he uses Delphi. I think Delphi can be used to programme a wider variety of software were VB.NET is still to reach that point. Give VB.NET time and I think it will be up there as a high end language. Another thing I have noticed is that there are so many little apps around, written in Delphi, for download from the web its not funny. I have also read a few articles about Delphi and if you have a good knowledge of C++ then switching to Delphi isn't as hard as it is to go from VB to Delphi.
-
What is the most common language for real word apps. I am stuck at the 'choose your language cross road'. I have a good understanding of vb(all versions), studying C/C++ for Uni, played around a bit in Delphi, and for Uni, there is a OOP C subject and Java. What do you guys think is the best language to take up. I have been looking at jobs and stuff to see what languages are required and that sort of thing. Most use C and delphi while occasionaly I see VB and others. I think that VB will only get better now as it has taken the leap to actual OOP, but will it ever be considered a language that can do anything you want? I also realise that if you have skills in all languages, you are more likely to succeed in the programming industry. So, what do you all think Steve
-
dim Diablo as process Diablo.Start(path to exe)
-
Why not take your data from the webform and put it in a txt file that is attached to your email. Then you can read it into your programme and do what u want.
-
This is a 2 part question. I have never used xml, so some of these questions may seem stupid to some of you. Can xml be used in the following fashion, Can it contain multiple datasets? I have only really had experience with Access, so what I'm getting at is that for each table you would create in Access, do you need to have seperate xml files. And the second part of the question is, What is the quickest method for reading data into an app. Reading a database, xml or text file. The program I am writing has multiple tables in Access. I don't know whether I should keep them in access or use xml or a text file. Any comments or suggestions would be a great help Steve
-
I am having some troubles performing this select statement. This is what access produces: SELECT Photos.Keywords FROM Photos WHERE (((Photos.Keywords) Like "*red*")); This is where I am but getting no results. "SELECT Keywords From Photos WHERE Keywords Like *' & keyword.text & '*" Could someone have a look and see where I am going wrong. Thanks Steve
-
Ok, I found user control, but can someone clear this up for me... Will this user control be available to any program....like your standard button, listbox, etc. As long as I save it somewhere of course.
-
I am writing an app to view images and then you can add keywords to it and later search for them. Problem is, how on earth do you make sense of the metadata, eg. Title, Description, Keywords I can get the metadata of the image out, but it is in ascii format. Has anyone managed to convert this to real text so it becomes usable information? Thanks Steve
-
Do you need Visual Studio to be able to create controls?? If so, is there no way at all I can do it in VB.Net Standard Steve
-
Put this line in below the me.controls add part AddHandler btnPlayerInfro(i).Click, AddressOf btnPlayerHandler then create a sub called Sub btnPlayerHandler(ByVal sender As Object, ByVal e As System.EventArgs)
-
Is there an option to search through a treeview. I use to have a listbox with a textbox above it where the user could type in and in the listbox, the cursor would highlight the matching text. It was called listview.findstring(your text string) Is there anything like that in a treeview? When the program runs and you click in the treeview, you can press a key and it will jump to that letter. Thanks Steve
-
You would have to create an array of textboxes. Sub CreateArray() Dim btnPlayerInfo() As Button Dim i as Integer = 0 'Needs to start at 0 Dim r as Integer = 7 ' Number of Buttons Dim y as Integer = 25 ' y position of your button...depending on your forms layout Dim x as Integer = 10 ' x position of your button...depending on your forms layout Do while i < r ReDim Preserve btnPlayerInfo(i) btnPlayerInfo(i) = New Button btnPlayerInfo(i).Left = x btnPlayerInfo(i).Top = y btnPlayerInfo(i).Test = "Player " & i & "'s Info" '... '... Any other options to set '... Me.Controls.Add(btnPlayerInfo(i)) i += 1 y += 25 Loop You could do something like that to populate your form with buttons with it loads.
-
Can you create a sub that handles all or some of the events that are required? Im not fully sure of what you are trying to achieve
-
I just remembered.....I have had strange things happen with icons....This may be due to the custom icon being incorrect size, colour depth, but when I add icons into the imagelist, some of them wont add while some will. All of the icons from windows adds in fine, but some of the ones I have made won't. I haven't looked too much into it, but it might be the problem you are having with the exe. Might pay to check a standard icon and make sure yours is same size/colour depth. Steve
-
All I have done is pick the icon from the main forms properties. It then changes the icon on the top left corner of the form and the exe. Steve
-
Im slapping myself across the face now...... The id field is an integer and my syntax was telling it to look for text...eg, I had id as '2' instead of 2 Very silly mistake, but you learn by mistakes!!!
-
I have a access table with an ID field that is auto incremented. Problem is, I cant seem to do update query's when i use the ID field. I narrow my selection to the person I want to make the updates to and then grab the id of the row and assign it to playid. Dim objCommand As New OleDbCommand("UPDATE Contacts WHERE ID = '" & playid & _ "' SET Firstname = '" & StrConv(txtFirstname.Text, VbStrConv.ProperCase) & _ "', MiddleName = '" & StrConv(txtMiddleName.Text, VbStrConv.ProperCase) & _ "', Surname = '" & StrConv(txtSurname.Text, VbStrConv.ProperCase) & _ "'", cnn) I end up getting this error: An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll I have found though, if I change the objcommand to update where the surname = something, it works fine. Has anyone come across this or is it just me? Thanks Steve
-
Is it possible to restart a sub part way through its process?? I have a button with the click event and in there i have a message box. If the user presses yes, I would like the sub to start again and if the user clicks no, to exit sub. The exitting sub is fine....just stuck on how to restart it...if it is possible?? Thanks Steve
-
To those who take programming classes in college (or have)
sjn78 replied to wyrd's topic in Water Cooler
You go to college to get a piece of paper, then you go to work to learn....