|
Yeah, but the functions he's asking you to use are all native to VB6. Their in the VB.NET Microsoft.VisualBasic namespace for backward compatibility, not becuase they're the best way of doing things.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Tretanya wrote: I do understand the instructor giving us a list of requirements for our program, to help him know what we actually learned in the course, i just dont understand his choices for some of the requirements.
I think he's being lazy, he should think of the project, so you can focus on writing the code.
Tretanya wrote: This is for a 3000 level college course.
Then you need to decide if you're willing to not make a fuss about a teacher who is going to teach you badly. IMO it sucks that they teach VB at all, but to teach it wrong ? I guess it's not different to the bad C++ courses they've had over the years ( teaching it as C )
Tretanya wrote: . Same thing in the real world.
No, in the real world you may have to discuss dumb features, but you are free to write them as you like.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian Graus wrote: No, in the real world you may have to discuss dumb features, but you are free to write them as you like.
Tretanya wrote: Same thing in the real world. A customer will have certain requirements that must be met, atleast then they won't be coding requirements like in this project.
I didn't say that the coding wouldn't be up to me. As I quoted from my previous post, the requirements won't be coding requirements.
|
|
|
|
|
Tretanya wrote: I didn't say that the coding wouldn't be up to me. As I quoted from my previous post, the requirements won't be coding requirements.
I think he's meaning that the real world is a bit different than the classroom
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
Tretanya wrote: The following string munipulations
Left
Right
Mid
Instr
Trim
UCase
You could have a textbox of a string the user enters, then, have seperate read-only textboxes showing what happens to the user entered string when the string manipulation functions are used. As Christian said, the String class methods are better. Your instructor should know this
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
I can understand him wanting to test us to see what we have learned, but you would think he would try to stick with things that we will be using. I really doubt I would be using any of those after I am outta the class.
Hmm, and with what you said gives me an idea. Maybe make it like a game. Have the user put in a few words or a short sentence and see what gibberish could be made with it. Or even a "pig latin" translator, lol. I could definately use atleast a couple of those with doing that.
Thanks!
So I might just make it like its a bunch of kids games. Have like hangman (game itself covering random access files, adding and viewing word list for sequential access), tick tac toe, the above idea, and maybe math. Any forms not used for the games to be played on, could be the ones for menu and adding/viewing word list. Will have to play around with this idea and see how it comes out. :p
|
|
|
|
|
Tretanya wrote: even a "pig latin" translator, lol.
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
It seems to me that we are discussing semantics here, as well trying to solve an entirely different problem than originally stated.
See it this way: sometimes you have to make do with what you are given. (people have actually made a million bucks that way)
Your teacher, as is general practice in (public) education, is behind a couple of years. If you tell him so, like someone here suggested, he will find an excuse to fail you on this project. If you don't tell him, he'll keep on teaching the same crap to future generations for at least three more years.
I suggest the subtle approach: write an application, of which half of the forms do nothing usefull ("A-do-nothing-for-a-do-nothing" ), but that include all the requirements (have a string go through all the different manipulations and post back and forth between the forms with the buttons), and the other half you make do something usefull (search a user entered string for mistakes or something, and correct them), using good vb.net code.
And then you keep your fingers crossed that your teacher also learns something.
Good luck,
Johan
Evolution outlasts revolution.
|
|
|
|
|
I can agree that he is probably a bit behind the times. When the semester started, we spent the first two weeks using vb6 because vb.net wasn't installed on the computers yet. For the most part of the course, he hasn't followed with the text book that was required. He would make copies of a gui and would tell us what he wanted the command buttons etc. to do, then we would build it. The book has been mainly for reference. Not saying that is bad since it is one that basically walks you step by step through assignments, giving the exact code and completed code at the end. When I had taken this course, it was more to bring me up to date with vb. I had taken a course on vb6 about 6 years ago, but hadn't done much with it at all since so figured this course would help me out alot. The only thing it has actually helped me with was using vb with excel and word.
On how you was saying to do this project, if it wasn't worth many points I could do that. But this is for 1/4 of our grade, so I am not about to risk getting alot of points taken off.
Hmm, maybe I could do what he is wanting, how he is wanting, then also do the same thing using vb.net coding. That might get the point across a little more nicely.
|
|
|
|
|
My point exactly...
|
|
|
|
|
Hi all,
I've developed an application using VB6 and MySQL. I designed all my reports using Crystal Reports 10. How to call these reports in my VB6 application. Can any body give sample code. Please help me in this issue. Most Urgent.
Thanks in advance.
|
|
|
|
|
You will need to have variables referencing Crystal Application and Report objects in your program. You can set the data source of the report dynamically in your project.
I did something similar a while ago... Googling will probably help you get some sample code.
|
|
|
|
|
Hi,
I have built an Crosstab Report using VS.Net 2005 Crystal Report,
I have used XSD as my Datasource for the report and I set the Datasource of the Report at Runtime from a Dataset.
There are 2 rows in my report and 1 Column Feild and 1 Summarized Feild.
The problem is when the Report is Viewed there are no Row Heading in the Report.
for eg the out of the report is
Canceled Returned SucessFull
Dealer1 1004 10 12 132
Dealer2 900 12 13 09
Now I want the Header for Dealer as Dealer Name and then Total Apps i.e I want out in this Format
DealerName Total Canceled Returned SucessFull
Dealer1 1004 10 12 132
Dealer2 900 12 13 09
First of all i want to know is this POSSIBLE to give header for Rows in VS.Net 2005 Crystal Report
If it is possible any one can plz provide any idea as to how it can be done.
I have tried searching every option in VS.Net Crystal Report but couldn't find any Solution.
regards
|
|
|
|
|
Could you help me? I have a problem related the cross tab report.
|
|
|
|
|
Hello
I am populating at combo box from a dataset. But when I run the program I find I get system.data.datarowview being displayed in the combo box. What should be displayed is the values in the table. i.e. R4484, G5474.
SupportContractID is the primary key in the table.
[code]
ds = ws.loadSupportContracts(clientID)
If (ds.Tables(0).Rows.Count > 0) Then
Me.cboSupportContracts.DisplayMember = "supportContractID"
Me.cboSupportContracts.ValueMember = "supportContractID"
Me.cboSupportContracts.DataSource = ds.Tables("contracts").DefaultView
End If
[/code]
Many thanks,
Steve
|
|
|
|
|
Hi,
New here and on the hunt for some assistance (obviously).
First up I am a total virgin when it comes to code (asides from tsql), but I have a situation where I need to fill a combo box in an Access database with the users from our Active Directory.
Does anyone have any ideas/detail on how I can achieve this?
Thanks in advance
Troy
|
|
|
|
|
Is it possible to create a program in VB that:
1. Starts up an application
2. Runs checks every few seconds on the Windows task manager processes
3. If the program is still running, wait another few seconds
4. If the process is no longer running, go back to the .exe and restart it
5. Repeat
Also, it would need to have a custom input box to give the location of the program in case it changes. I'm not a very advanced programmer, and a complete noob when it comes to Windows programming, so this is why I ask.
I have some alpha server software to manage, and the server crashes often [every 15 mins or so] and it's getting quite a hassle to have to restart it manually. The bugs are being worked out, so fixing them right now is not an option, and this would make the deal a whole lot easier.
Thanks much, especially for tolerating a noob question like this lol
Ka-Wiz
|
|
|
|
|
Yes, that's possible.
I'm not sure how to check the task manager to see if the program is still running, but to start a process, you can just use Process.Start("C:\Directory\File.exe") . Then have a timer that checks if the file is still running, and use the same code to reopen it. Then create a text box to store the file path in.
|
|
|
|
|
I had a datagrid and button column in it the button type is push button but i need to change the button color(which is in cement color by creation) to red and also text color that is displayed on the button to blue
Is this possible?
-- modified at 16:29 Tuesday 28th November, 2006
|
|
|
|
|
"Do not post programming questions (use the programming forums for that)"
|
|
|
|
|
Please post your code.
Jonathan Sampson
www.SampsonResume.com
|
|
|
|
|
|
I'm trying to create a screen saver using Visual Basic 2005. I've tried folowing a tutorial on the micorsoft site, however, whenever I try to compile it the program has numerous errors. I was wondering does anyone know of a good site or tutorial on this subject that explains from start to finish how to accomplish creating a simple screen saver? I'm newbie who is trying to learn by practicing and actually coding as I go. Also are there any how to learn visual basic 2005 books that anyone recommends for a beginner?
Thanks in advance
|
|
|
|
|
|
There is a Screen Saver starter kit included with VS2005
Pablo
Sometimes I think there's no reason to get out of bed . . . then I feel wet, and I realize there is.
|
|
|
|