|
Hey, I've been taking an independant study in Computer Programming, i've been doing VB.Net, and i've had prior experience with VB6/VB5 and C/C++ and a few other non-compiled languages, so i'm not a complete idiot... but i have to come up with some sort of project for my final. which will be due on thursday... anybody have any ideas for something interesting i could do? my friend who is also in the same class is going to do something with TrueVision3D, his will be something like a game where you can construct things...
|
|
|
|
|
Due on Thursday and you want ideas at this point ? That would limit your choices, I would expect....
I hope you didn't mean to imply that C++ is a non-compiled language ?
I would think that your best bet at this point is to start with something where you get a bit of flash from something that VB gives you for free, such as a DirectX sample. If you start with a DX sample and build something out of it, you might be able to save the day. Otherwise, I get the feeling that you're hosed, with only a few days to go.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I thought someone might misinterpret that.... no i meant i compiled languages such as VB5/VB6, C/C++, and in addition some non-compiled (mostly server side scripting languages) such as PHP, ASP, etc.
|
|
|
|
|
Archer282 wrote: which will be due on thursday...
You have left it far far far too late to do anything of any significance.
If you knew, some time ago, you had this "final" to do, why have you given yourself an impossible task so late "in-the-day" ?
At what level is this independant study?
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Well actually i didn't know until Thursday, the teacher never said anything...
|
|
|
|
|
Archer282 wrote: Well actually i didn't know until Thursday, the teacher never said anything...
In which case you had better start "banging tables" to show your disgust and contempt of a system that clearly is handicapping you rather than helping you.
Assuming you have a copy of Microsoft Project software, navigate to where the MS samples are stored and load the sample project entitled "Software Development". Open it and see the data that is presented to you. Then look at the timescales required to effect some software project from inception to end, and what they show there is not representative of real-life project development time.
Say to your teacher if MS Project sample cannot do a software project IN ONE WEEK what chance have you.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
How do you completely RELEASE a bitmap file if you load it as an image?
The following code chokes:
Picturebox1.Image = Image.FromFile("C:\test.bmp") 'load the file
....
....
....
....
Picturebox1.Image = Nothing
Picturebox1.Dispose
Try deleting file here and you get “cannot delete…in use by another user…” error.
???
Thanks.
Carp
|
|
|
|
|
Hello
I Think you have to release the image.
So try this:
PictureBox1.Image.dispose
PictureBox1.Image=Nothing
Hope it helps
|
|
|
|
|
Thanks that did the trick!
Carp
|
|
|
|
|
when running this command:
RS("Field").Value = Stream.Read
I am getting this error:
"Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done."
Field in MySQL is defined as a LongBlob
Any help would be appreciated.
For every action there is an equal and opposite malfunction
|
|
|
|
|
dear sir
how to store actual image in database(ms sql server) using vb.net
thanka
prabhakar dwivedi
|
|
|
|
|
Sub AddImage(rs As ADODB.Recordset, ByVal FileName As String)
Dim stm As ADODB.Stream
Set stm = New ADODB.Stream
With stm
.Type = adTypeBinary
.Open
.LoadFromFile FileName
'Insert the binary object into the table.
rs.AddNew
rs.Fields("DocumentColumnNameGoesHere").Value = .Read
rs.Update
.Close
End With
Set stm = Nothing
End Sub
For every action there is an equal and opposite malfunction
|
|
|
|
|
Hi
I have a small problem...I have some game located in say D:\MyApps\mygame.exe
I need to launch mygame.exe using my vb.net application...
I used Process.start("D:\MyApps\mygame.exe") ...but it is not working .
If I place my application in D:\MyApps\ and use Process.start("mygame.exe")..it is working fine
Can somebody pls help...tnx in anticipation
|
|
|
|
|
This MUST work in VB.NET fine (since I have used it a lot!). In C# you should only change \ to \\ to work...
|
|
|
|
|
Well...it is working fine now since i have used Chdir to change the working directory to that of the game and then using Process.Start
|
|
|
|
|
I am having problems with the Windows Media Player used in an application. I changed to Visual Studio 2005 from Visual Studio.net and my programs will not work. So I made an application from scratch that worked in the old version. Here is a link to the code and instructions, (Playing Digital Media in a Visual Basic .NET Application), that I am using: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/playingdigitalmediainavisualbasicnetapplication.asp
At the top of my code when I reference the PIA namespace (Imports Microsoft.MediaPlayer.Interop), I get an error that it doesn't contain any public member or cannot be found.
I am not sure if the PIA registered correctly, because it is not in the default location that the regpiagac utility, (located in the tuneclipper sample of the Windows Media SDK), shows it.
So I reran the regpiagac utility and here’s what happened step by step:
This utility will register the PIA and add it to the GAC.
OK
Please verify the path to the Regasm
C:\Windows\Microsoft.NET\Framework\v1.0.3705\ (default)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 (actual)
OK
Please verify the path to the Gacutil
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\ (default)
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin (actual)
OK
Please type the path to the Wmppia.dll
C:\WMSDK\WMPSDK9\redist\
OK
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727regasm.exe' is not recognized as a
n internal or external command,
operable program or batch file.
'"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bingacutil.exe"' is not re
cognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Any help will greatly be appreciated,
Glen Conaway
|
|
|
|
|
Ok, I left a slash out of the end of the path and I was able to successfully register the PIA. I no longer get the error for (Imports Microsoft.MediaPlayer.Interop). My old programs still don't work, and I still have issues to deal with, but will try to work it out, and if unsucessfull I will add a post later.
|
|
|
|
|
How can i maintain a printer log?
|
|
|
|
|
If you only require a list of documents printed, have a look in the event viewer.
If you want full details you need to monitor the printer - there is an article in my articles on this site that is called "Monitoring a printer from VB.net" that is a good starting point
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
I am trying to fill a DataTable with data from sql databae by using Background worker but it throws an exeption (calling it from the main thread works fine). I have read that BackgroundWorker can be used for database operations but can't find any examples. Here is the code:
Dim conn As SqlConnection = _
New SqlConnection(connectionString)
Dim command As New SqlCommand(cmd, conn)
Dim adapter As SqlDataAdapter = New SqlDataAdapter()
adapter.SelectCommand = command
Dim table As New System.Data.DataTable
table.Locale = System.Globalization.CultureInfo.InvariantCulture
adapter.Fill(table) ' the exeption is thrown here
What should I do? Please help.
--Nikola--
modified 7-Dec-20 21:01pm.
|
|
|
|
|
Hi 2 all!
I want to develop a project for LINUX, but i want to use VB.NET for this.
Is this posssible?
If not then tell me which tool/language is good for development in LINUX plateform?
Regards,
Arfan Qadir
|
|
|
|
|
I have heard of some experimental ports of the .NET platform to Linux, but I suspect that they won't cut the mustard. .NET is really designed for Windows and not a cross-platform framework. Have a search on the web in the Linux newsgroups etc. and see what you can turn up.
As far as development languages are concerned, I think you'll find that C++ is almost universally used. Good compilers are available from GNU and any Linux development web site should have more links than you can poke a stick at.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
Actually, ROTOR & MONO (the Linux .Net runtime) has come a long way. You can write .Net for Linux, though I believe C# is your only option. IDEs are somewhat limited though, SharpDevelop has a Linux port, and I've seen ads on CodeProject about Grasshopper for Linux .Net though I haven't checked it out yet.
ROTOR[^]
MONO[^]
SharpDevelop[^]
|
|
|
|
|
Thanks for the references. I'll check them out.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
It is posssible. I don't know if there is a tool for making it under Linux. But I know that MONO is something like for .NET framework for Linux. You can use VB.NET or C#, Managed C++ programs do not work with MONO.
While programming try to avoid Windows specific operations (such as reading/writing the registry etc.)
--Nikola--
modified 7-Dec-20 21:01pm.
|
|
|
|