GS80's Q&A profile
Visual Basic Tones
How do I generate tones in visual basic 2005. Not the beep,but a tone that I can varry. Also How to read the presents of a tone at the input on a sound card Thanks for any help you can give me. (Dennis) This a good article on the playing sound .wav I would like somthing on generateing the tone and the user can addjust the pitch of it. I am trying to do a program send and recive morse code. ...Show All
SQL Server Equivalence of Oracle's LEAST in SQL Server 2005
Greetings, i just want to know what would be the equivalent sentence of LEAST (IBA_MPACCIONESXREQ.FECHAFINALAXR,SYSDATE) in SQL Server 2005. I suposse that i could just use MIN function in this case Thank you in advance, Fernando When you are having to do this often you ought to look at your table design. If two columns contain like data then it is a typical place you may need to normalize. Two sugestion. First, make a view that normalizes the columns: create table test ( testId int primary key, col1 int, col2 int, col3 int, col4 int ) go insert into test select 1,2,3,4,5 union all select 2,4,6,8,10 go create view testNormalized as select testId, col1 from test union all sel ...Show All
Visual C# How to find the folder or file path dynamically?
Hi.. I needed to access the folder name in which the user has selected. For this i tried the FileInfo method. This is the code i tried: FileInfo fi1 = new FileInfo (path); txtDocName.Text = fi1.Name; But i need to get the path of the folder or file which the user selects. so here i cannot pass the path as static one. How to provide the folder or file path dynamically Hi Musafir, Which folder do you want because I don't know what you mean with the selected folder Do you mean selected as in selected from a dialog box Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual Studio Team System Quick Result Store Question -- Viewing the detail of each test run
I have a load test which contains 1 coded web test After I run the load test, is it posible to see the results of each test it ran (for example say I ran it for 10 mins and it ran this 1 test 50 times. Can I see the results of each of those 50 results ) For example get the response time of each test You are not able to get this information from the UI. But you can collect timing details by setting the "Timing Details Storage" property on Run Settings to "Statistics Only" to collect percentile data. In the Tables view of the Load Test Analyzer, add 90% Test Time and 95% Test Time columns to the Tests table if they are not there, then you will get some e ...Show All
SQL Server SQl Server CE database connection issue
Hi, I have created my sql mobile database in c drive ( c:\SQlMobile\sqlmobile.sdf).now when i try to connect it with following code, it gives "The path is not valid. Check the directory for the database" error. i have tried all path options but no one is working.please help me. ( i am using visual studio 2005 and SQl server mobile) code: SqlCeConnection ssceconn = new SqlCeConnection ( "Data Source=c:\\SQlMobile\\sqlmobile.sdf;Password=XYZ11!@#" ); ssceconn.Open(); MessageBox .Show( "Ok" ); ssceconn.Close(); If you running on device, this path is indeed invalid. Devices don't have drive letters and they can't see desktop's hard drives (without pro ...Show All
Windows Live Developer Forums Filtering Address based on Country in Virtual Earth
Hi, I am working with Microsoft Virtual Earth. I want to show Adresss. I used VEMap.Find() method to find the address. I passed street name,houseno,city,zipcode,county,state and country informations to find the address. The problem is I got the address throughout the world which matches the address. But I want to filter the address based on Country entered. So pls kindly assist me to sort out the problem. Is there a method to filter the address based on country in Virtual Earth Help me. Thanks in advance. Hi Derek, ok. But my requirement is to filter the location based on country. If I enter correct address, the location is shown correclty. But If I enter wrong address also it shows me the location. That sh ...Show All
.NET Development Error while building the following code
Below is first.il code.... I am compiling it with ilasm /nologo /quiet /debug first.il...... while compiling i m getting this error Error: Reference to undefined class 'System.Console' (token 0x01000003) Could not create output file, error code=0x80004005 .assembly Test1{} .class Test1 { .method public hidebysig static void Test() il managed { .entrypoint ldstr "Hello" call void System.Console::WriteLine(class System.String) ret } } I am not getting what's wrong in above programm..........can anybody please help me out........ The IL Assembler needs a hint as to where System.Console exists. This code should do what you're looking for: .assembly extern mscorlib { ...Show All
Windows Forms Windows Forms with Web Like Interfaces?
I have seen quite a few Windows Forms applications that appear to use a Form as a container to house an HTML (Web Browser) type window to supply the user interface. One thing I like about this is that it gives you quite a bit more control over the look and feel of your application. I would possibly like to incorporate this type of UI into some projects I am working on, but I am not quite sure how it all works. Can anyone provide a link to some documentation on building a Windows Forms based application in this manner Specifically I would like to know how to handle events generated by the HTML elements and if partial page rendering is possible hi, Please go through the below link. Hope this helps. http://msdn.microsoft.com/librar ...Show All
Visual C# Make end of statement ";" optional?
I think microsoft should make the end of line statement, (i.e. the ";") optional. If you program VB.net like I do and is inevitably forced to write/read C# code, having to write the ; after each statement is annoying. I know C/C++/java etc all have it but in an enviroment like Visual studio where the IDE makes life so much easier the end of line statement is unnecessary. Who agrees with me I remember from VB that if you want to span multiple lines you then need to use the underschore character. To make sure that the text stays readible within a certain width I often span a single line of code over 2 or more lines. I like the fact that you have to explicitly determine where the line of code ends. ...Show All
Software Development for Windows Vista Where did CertKeyFileTool.exe go?
Hi, The SDK RCs included a tool called CertKeyFileTool.exe, which could be used to set security properties for installed certificates. This tool seems to have disappeared in the RTM. Anyone know where it's gone or what replaces it Thanks, Kent FindPrivateKey is now a sample application: http://msdn2.microsoft.com/en-us/library/aa717039.aspx HTH Mark Seemann http://blogs.msdn.com/ploeh ...Show All
Windows Live Developer Forums Msn Socket Error
what is it //Error while sending network message. See the inner exception for more details. ...Show All
.NET Development There was an error while trying to serialize parameter
I tried to write a simple WCF example: With datacontract: <DataContract(Namespace:= "http://MyPhoneBook" )> _ Public Class LE <DataMember()> _ Public m_name As String Public Sub New ( ByVal name As String ) m_name = name End Sub End Class and servicecontract <ServiceContract(Namespace:= "http://MyPhoneBook" )> _ Public Interface IPhoneBook <OperationContract()> _ Function getLE() End Interface The implementation of the server returns a simple Test-LE: Public Function getLE() As Object Implements PhoneBookContract.IPhoneBook.getLE Return New LE( "Test" ) End Function I generated the client proxy with svcutil. So, when I start server ...Show All
Windows Forms Could i fill a combobox with a ColorDialog or ??
a Color class. Im waiting for your help... thanks. I think he wants a combobox that contains the actual colors as the selection list. You will have to implement an ownerdrawn combobox. ...Show All
Visual C++ unresolved external error
I am having an unresolved external problem. This is my error output: Linking... tryagain.obj : error LNK2019: unresolved external symbol _furnsh_c referenced in function _main C:\Documents and Settings\sharyl\Desktop\cspice\exe\tryagain\Debug\tryagain.exe : fatal error LNK1120: 1 unresolved externals I have the enviroment variables set so that the library that contains furnsh_c is in the lib path, and the include folders, etc are also in the system's enviroment variables. I have also added the lib that has furnsh_c to the additional dependencies. What am I missing Is it possible that I changed another setting that is causing this Thanks! The first one is expected. It lists a reference to symbol named _furnsh_c (whi ...Show All
SQL Server default render
Is there a way within rs2000 to set the default render to pdf for a particular report I have a report which asks for parameters which will be exported to pdf before printing. I want the report to go straight to pdf when 'view report' is clicked rather than http. No, I don’t think that this is possible. (Didn’t see any switched or tweaks for that). HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
