|
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.
|
|
|
|
|
Hello!
I have written a little subrutin to clone and mirror a panel into another form.
I would like to grow the size of clone. (zoom)
I tried ScaleTransform but it's not work.
Here is my code:
Private Sub CloneMirrorZoom()
Dim b1 As Bitmap
Dim g1 As Graphics
b1 = New Bitmap(Me.Width, Me.Height)
g1 = Graphics.FromImage(b1)
g1.CopyFromScreen(Me.Location + Panel1.Location, Panel1.Location, Panel1.Size)
g1.ScaleTransform(2.3F, 4.5F)
b1.RotateFlip(RotateFlipType.RotateNoneFlipY)
Form2.CreateGraphics.DrawImage(b1, 0, 0)
End Sub
Please help me, what is wrong?
thx.LD
-- modified at 4:11 Friday 19th May, 2006
|
|
|
|
|
If you applay ScaleTransform to a graphics object it doesn't mean that the current contents gets transformed but that all coming drawing operations gets resized. In this scenario you won't need ScaleTransform at all:
b1 = New Bitmap(Me.Width, Me.Height)
g1 = Graphics.FromImage(b1)
g1.CopyFromScreen(Me.Location + Panel1.Location, Panel1.Location, Panel1.Size)
'g1.ScaleTransform(2.3F, 4.5F)
b1.RotateFlip(RotateFlipType.RotateNoneFlipY)
Form2.CreateGraphics.DrawImage(b1, 0, 0, b1.Width * 2.3F, b1.Height * 4.5F)
Also think about painting the image in the form via its Paint event instead of drawing it here directly. You could do this by setting some field to the generated bitmap and calling invalidate on the form. After that the Paint event will be thrown and you can draw your image there.
Also never forget to dispose created Graphics instances.
|
|
|
|
|
What a fast answer!
Very thank You!
|
|
|
|
|
I have a text file (Japanese) with encoding like this:
annon = \u30a2\u30ca\u30a6\u30f3\u30b9
send_annon_each = \u305d\u308c\u305e\u308c\u306e\u901a\u77e5\u3092\u500b\u5225\u306b\u9001\u308b
I don't know it's encoding and how to create it. Please help me. Thanks.
|
|
|
|