Andrew Trevarrow's Q&A profile
Windows Forms TrackBar LargeChange Property
Hi, I'm trying to have it where when you click on a trackbar, instead of moving a "LargeChange" units forward/backward, the bar moves to the position that was clicked. The LargeChange property determines how much further the bar will move forward/b ...Show All
Visual C# How i can Embed swf file in the form..?
Hello,all.. How i can embed a swf file..in a form.. which object can i use ..(i am using C# 2.0..not C# 1.1..).. Did any one try..that..please help..i have a column in database called fld_Data..which is of type of image..datatype..it contains all data....(images(jpg,gif,) and swf )..the question..i know how to show the images on PictureBox. Control..but the question how i can show swf flash file..in that control..or another controls.. ...Show All
Visual Studio Express Editions Producing Report
Hello people I'm writing win app. I have to print "recipts" from my application - in other words: produce a report. However, in the express edition there are no reporting controls such as "crystal reports", "report document" etc. - which I used in the past in previous editions. What should I do One important thing: The report must be "Right to Left" aligned. I tried to play with a little bit of GDI+ ...Show All
Visual Studio Team System Unit testing Web Services - Code coverage failing
Hi All, I'm having an issue with unit testing webservices from the command-line (works fine from within Visual Studio). I have a testrunconfig file that has codecoverage enabled for this test web service (the default hello world). The method I am testing is: [ WebMethod ] public string HelloWorld() { return "Hello World" ; } The code I am using for the testing (basically the auto generated code modified to ...Show All
SQL Server Information of SQL 2005
I installed the SQL Developers and I would like to know if I can install the Management Studio Express to obtain to use together with the SQL Thanks Rodrigo I can use Management Studio Express together with a installion of the Sql Server Developers Thanks Rodrigo ...Show All
Windows Forms Question on Threads
Hi, i have a main form and from the main form iam creating a new thread to open another window. From this form i have the showdialog which will open the third form which i would like to be a modal window for the second form and not the first form. Right now what happens is it is behaving as a modal window to the first form. I would like to know how to invoke the third form from the new thread which was created.Let me know any solutions w ...Show All
Visual Studio Tools for Office VSTO EXCEL deployment Issue
I'm including a customized excel document in the development of the software suite that my company is delivering to a client. Our software is a webportal to database information, and the excel document is called from there. Here in the office, I can navigate to the URL, log in, open up the excel document, and have it work fully and correctly. All I have to do is input the appropriate caspol string to give the url permission. In the client' ...Show All
Visual Studio Express Editions Memory Leak
Hello people, i am a new bie in vc++ programming. My projcet preformance is degraded because of memory leak. It would be a great help if ypu guys help me pur with my school project. th following code give me a memory leak ---------------------------------------------------------------------------------------------------------------------------------- void CMemoryLeakDlg::OnBnClickedOk() { // Me ...Show All
Visual Studio Express Editions VS 2005 Express Macro IDE
I have just loaded VS 2005 Express and cannot find any of the Macro IDE elements on the menus. For this new version to be useful to me, I need to be able to import a bunch of macros from my VS 2002 setup. Does anyone know what I'm missing here Do I need to install something else. TIA guess what, a constant nagging that you're missing out on something great is a good way to entice you to buy the full product. ...Show All
Windows Forms Drop-Down Properties
I know that by using enumerations I can create a simple list of things that will drop down from a box in a custom property, in a propertygrid. But what does one do if they want a string to drop down in the box the enum way works all well and good untill you need a space or a unique character. So how do we get around this Thank you a lot for the code!. Sincerlly works like a charm. The code was modified to adapt ...Show All
Windows Forms Newbie to Windows Forms...
I would consider myself a high level programmer with VB.NET and ASP.NET, but I am new to the world of Windows Forms. Is there a book that offers great example examples on getting started I am having trouble with finding code examples that  ...Show All
Visual Studio Team System How to write Unit Testing for ASP.NET 2.0 under VSTS?
Hi, I have to write unit test cases for asp.net 2.0 web application using Team System's Test project. What I have done... 1. I created a solution under Team System 2. I added empty web site project to the above solution 3. I added Test project to the above solution. ---Solution +Solution Items xxxx.vsdml xxxx.testrunconfig +WebTestProj +TestProject +Properties +References -Uni ...Show All
.NET Development Tricks for getting asynch completion routines back to an instance method.
There SEEMS to be an uwritten rule that AsyncCallback delegates will be SHARED methods. All the examples show this, but I have never seen it actually discussed or described anywhere. I want to execute a non-shared method on the class, however. My approach has been to use the argument to pass the instance, and then have the shared routine execute the non-shared method m_sckSocket.BeginReceive(m_bReceiveBuffer, 0, 256, 0, New AsyncCallb ...Show All
Visual Studio Team System To Merge or a not to Merge
1. Create Team Project 2. Put some files under SC 3. Create new Team Project as branch from 1-st 4. Make some changes in new branch 5. Select 1-st project and click Merge I've got message "The project *** is not a branch of...", really strange... I want merge changes from source project to the just created branch and as I understand it is imposible (but ot works n another direction, from branch to source). Another thing, we using a lot of b ...Show All
Visual C# TCP send formatted messages
hi,,, while i was making some tcp server client applications i found my messages sometimes wree bunching up,, and i have some snsitive data that causes errors if my data is corrupted,, so i have read in some places that is good when u sedn a tcp message to di it this way: [type][lenght][data] but,,,, how can i do it ... and then how to read it when i receive it ....... thx mig16 lol,,, so it wont work what im a ...Show All
