|
Oops! Sorry did not twig that.
|
|
|
|
|
So, where's the code that goes through each item in the ComboBox items and compares the two??
|
|
|
|
|
School Library System Software RUN-TIME error 713
plas soly
pranav trivedi
|
|
|
|
|
|
Wow - are you even remotely a programmer, or is this an error from software you use and you're asking about it in a programming forum ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all...
I am creating a program in which is used to play two songs at the same time.
I have imported Interop.WmpLib.dll file and created two objects to play two songs simultaneously.
I want to mix and record these two songs so that when I will play recorded file, it will play songs of both files as played in DJs.
Suggest me,how can I mix and record these two mp3 files in one mp3 file.
Thanks.
Gagan
|
|
|
|
|
Your going to need an audio processing library to do this. Try Googling for "mp3 processing library .net".
|
|
|
|
|
For editing MP3 files you will need a DLL, LAME32.DLL is a good place to start, the open source Audio editor called Audacity also uses this DLL.
Lloyd J. Atkinson
|
|
|
|
|
Hello every one
I am working on a application in which I have to change the system time. After googleing for some time I found some help and did the code as written billow.
It is just a test code in which I am adding 2 hours in the current time. The code is working but it dose not just add 2 hours but some thing around 5 hours.
I tried debugging it but was not able to know what is wrong. I even tried without adding 2 hours strill the time changes by around 5 hours
Any idea what wrong I am doing?
<dllimport("kernel32.dll",> Public Shared Function SetSystemTime(ByRef theDateTime As SYSTEMTIME) As Boolean
End Function
Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim st As SYSTEMTIME
'Dim st As SYSTEMTIME
st.wYear = Now.Year
st.wMonth = Now.Month
st.wDayOfWeek = Now.DayOfWeek
st.wDay = Now.Day
st.wHour = Now.Hour +2
st.wMinute = Now.Minute
st.wSecond = Now.Second
st.wMilliseconds = Now.Millisecond
'newDateTime = st
If SetSystemTime(st) Then
'cool, we set it successfully
End If
End Sub
Regards
Nishkarsh
|
|
|
|
|
How about getting the system time first, then adding 2 to the value that's there, instead of populating the entire structure.
But, the major problem is that you're Trying to assign a Singed 32 bit Integer to an Unsigned 16 bit wide field. The value overflows and you get weird results like this. Try something like:
st.wHour = Convert.ToUInt16(Now.Hour + 2)
|
|
|
|
|
Hi All,
i need to wrap the listview item. That is the part of label text of listview item should appear in next line.
I have set the listview property to smallicon.even i have tried by setting listview.labelwrap = true. But i coudn't get,Please guide me to sort out to this problem.
Thanks in advance.
|
|
|
|
|
It's not supported by the standard control. You'd have to use either a third party control or write your own version, supplying all the appropriate painting code to do so.
|
|
|
|
|
|
How to write the codes for capture entire area or part of the screen with VB.NET.
|
|
|
|
|
SendKeys.Send("{PRTSC}")
Pic1.Image = Clipboard.GetImage
Use a Picture Box Pic1.
This is capture your current screen.
|
|
|
|
|
Look at any number of the recent tutorials/guides on code project which show you how to do this. There was one posted just today or yesterday.
Search button is at the top ^^^
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
hi dear,
i've some frames created in Adobe Illustrator and i want to implement them into different pictures using VB.NET... plz help me how to apply these frames in VB.NET...?
many thanks,
|
|
|
|
|
It's very unlikely you're going to get an answer to this question considering, in 6 years, your the first person to ever ask a question about Illustrator around here. I haven't touched Illustrator in over 10 years.
AFAIK, the only way you can use those frames is if you export them as bitmap images. The .NET Framework has absolutely no support for Illustrator's file format biult in.
I suggest Googling for "VB.NET Illustrator" to start.
|
|
|
|
|
Hi guys i need some help on virtual com port communication. I need to communicate to my external hardware via virtual com port. Now that i already gotten the command line for my hardware i just need to know how can i communicate with it and send the command. Will be greatly thankful if that is any example to allow me to understand better.
|
|
|
|
|
Google for "System.Io.Ports.SerialPort" and you'll come up with dozens of examples and documentation.
|
|
|
|
|
I look up google on the topic, but what they shows are all communication between computer. I cant find any which is communication with hardware.
|
|
|
|
|
Talking to an external piece of hardware on a serial port is no different than talking to a PC.
|
|
|
|
|
Ok, sorry for asking stupid question. But i am quite new to serial communication. Another question i have is why when i
Dim Withevents Port as serialPort = New Serialport, is labeled as error as undefined. But i have already imported the library.
|
|
|
|
|
Did you put this at the top of your code??
Imports System.Io.Ports
And are you using .NET 2.0 (Visual Studio 2005) or greater?
|
|
|
|
|
yes i did.. that's is why i don't understand why the error still appear.
|
|
|
|