can someone explain to me how this was done:
http://www.youtube.com/watch?v=ipzR9bhei%5Fo&NR=1&feature=fvwp
what tool did this person use to analyze the midi file? was it a midi file? how did they turn it into this kind of animation?
is it possible to make an application like this in vb.net?
...
I have a form with a split panel. In the one split are a group of buttons which I want to programmatically change the color of the last pressed button. The following loop seems to run correctly and set the colors correctly but the form doesn't represent that. Once the loop is completed and I recheck the button colors, they revert to p...
Ok, I'm making a very basic vb.net winforms app, essentially you can drag files into it, and it then uses a batch file to process the files.
It's pretty simple and everything is going to plan so far, it accepts the right files, it uses the batch file to process them and the batch file does what it is supposed to.
The only problem is th...
I have an ASP.Net form, where it grabs a value from a textbox:
<asp:TextBox ID="txtID" runat="server" maxlength=9></asp:TextBox>
The ID HAS to be 9 numbers.
After it grabs it, I want to insert it into a database (SQL Server 2005), so I build a parameterized string,
'The Query
cmd.CommandText = "insert into table (aid) values ('@aid'...
I am writing an application that must generate a plain Text file with fixed sized columns.
my current code is:
Dim MyFilePath As String = Path & FILE_PREFIX & FileNr & ".TXT"
IO.File.Delete(MyFilePath)
Dim FileStr As New IO.StreamWriter(MyFilePath, False, <ENCODER HERE>)
Do While r.Read
FileStr.WriteLine(r("TXTLine"))
Loop
FileSt...
public static string CalculateSHA1(string text, Encoding enc)
{
byte[] buffer = enc.GetBytes(text);
SHA1CryptoServiceProvider cryptoTransformSHA1 = new SHA1CryptoServiceProvider();
string hash = BitConverter.ToString(cryptoTransformSHA1.ComputeHash(buffer)).Replace("-", "");
return hash;
}
THANKS!
VStudio keeps yelli...
I have a simple .NET 3.5 app for changing some database fields using an ODBCDataSet. Now the Feature Creep is asking if I can hide or show tabs and other controls based on the user's database permissions.
Ideally, I would like to control the permissions only on the SQL Server using Windows user groups, and the app would not have any bui...
Hello All,
I have become accustomed to using TryParse for attempting to parse unknown types:
Dim b As Boolean
Dim qVal As Boolean = If(Boolean.TryParse(Request.QueryString("q").Trim(), b), b, False)
or
bool b;
bool qVal = (Boolean.TryParse(Request.QueryString("q").Trim(), out b) ? b : false;
So, just curious if someone knows a bet...
I am very interested in applications of geospatials.
Is there is a good tutorial?
I am a beginner at SQL, can I work with geospatials through the .NET environment?
What should I download to use spatials?
...
In VB.Net you can do something like the following without any issues... just ignore the fact that this is a pretty useless class :-)
Imports System
Public Class Class1
Public Shared Function ArrayToList(ByVal _array() As String) As Collections.Generic.List(Of String)
Return New Collections.Generic.List(Of String)(_array)
...
I am beginer to ASP.Net. Can u tell how to call new page from the existing page.
In VB.net by executing the statement "Form2.show()", New page will be loaded. In the same way how to load new page in ASP.Net ?
...
I have the following code:
Imports MySql.Data.MySqlClient
Imports MySql.Data.Types
Public Class FormMain
Private Sub FormMain_Load ...
' Open Database
Dim objMySQL As New MySqlConnection
End Sub
End Class
I get the compiler error message:
error BC30560: "MySqlConnection" ist im Namespace "MySql.Data.MySqlClient" nicht eindeu...
I currently have some time on my hands at work and want to advance my vb/c# skills. I have found that most of the tutorials/resources on the net are fairly basic. I am looking for intermediate to advanced exercises.
I have seen the books that people have recommended in other posts here on Stack Overflow and they look great. It's just t...
I have a program which doesn't once reference System.I0, coded in vb.net, yet for some reason my user got this:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: advancedclipboard.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4a903bf5
Problem Signature 04: Microsof...
I typically develop in C# and am quite accustom to using System.IO. I recently ran across the FileIO library and have found that some of the advantages (such as sending an item to the recycle bin) are quite nice to have. Especially in the program I am currently working on.
My question is, Does System.IO out perform the VisualBasic.FileIO...
Hi I am trying to raise the PropertyChanged event of an EntityObject, I don't find a way to do it, is this possible?
...
Hello,
I am looping through several hundred records from a XML file and inserting in SQL server 2008 using LinQ from my Web Service.
My question is, for some reason if a record is not inserted it is coming out of the loop and going to the Catch block directly.
How do I move to the next record if the insert fails and continue with the ...
Hi.
I have a datagridview with two combo boxes, all the cmb are bound to bindingsources
The first cmb has the customers where the customers has projects
The second cmb has the projects of the customers
When I select a customer from the first cmb I do this (between others)
If Me.StaffExtraPaymentsDataGridView.CurrentRow.Cells(1).IsIn...
Hello friends,
I have a Web Service with Just one Web Method that returns a boolean value and a function
When a client application consumes this web Service, I first want to return a value true and then continue with the remaining process.
I was googling and didn't find anything that I can understand. Please help me out. In one of the ...
This should be simple: I see everywhere people use IntPtr, is there any reason I should use UIntPtr, instead?
...