Software Development Network Logo
  • IE Development
  • SQL Server
  • Game Technologies
  • Visual FoxPro
  • Windows Vista
  • SharePoint Products
  • Smart Devicet
  • Visual C#
  • Visual C++
  • Visual Basic
  • Microsoft ISV
  • Windows Forms
  • .NET Development
  • Visual Studio
  • VS Team System

Software Development Network >> vicarious's Q&A profile

vicarious

Member List

pablog
ManjuVijay
David465465454
Misbah Ahmad
Xadja
Tej62007
lagu2653
Abhishek_SE
Bradley Reynolds
bernb
Nitesh Ambastha
mmmmBeeeer
Joe Albrecht
Science_1
supagu
Steve Jackson
martinnickel
Malain
John Padilla
Andy Johnson
Only Title

vicarious's Q&A profile

  • Visual Studio Express Editions msgbox

    how do i use the if then to act on whichever button was pressed, like the yes no for example you would be looking at the dialog result of the MessageBox. This is the way of doing so: if MessageBox.Show("Message", "Caption", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = System.Windows.Forms.DialogResult.Yes then 'the user pressed the yes button else 'the user pressed the no button end if to give the MessageBox the buttons, you need to look at the MessageBoxButtons enumerator, it supplies you the buttons that you can show to the user. The MessageBox also returns a DialogResult, the value returned based on the user's choice and you look at the DialogResult ...Show All

  • Visual C++ Convert C++ obj to Source code

    Is it possible to convert the build file .obj to the source code If yes, wants the tool to convert ...Show All

  • Visual C# Resources

    I have an embedded resource. I tried following some things I found through Google on accessing the resource, but I wasn't sure exactly how to do it, so I posted here. I have a txt file thats an embedded resource, and I want to access it. How do I do that I was able to do this very very easily in VB.NET, but I can't figure it out in C#. ...Show All

  • Visual C# How to activate the forms application?

    Hi, I am developing a windows form application.If my application is minimized how can I make it visible . my application is waiting for a event from a hook procedure. I tried SetFocus() but it returned the "false". How can I achive this. Regards, Hemant. The following code will work: Process process = Process .GetCurrentProcess(); Microsoft.VisualBasic. Interaction .AppActivate(process.Id); You'll need to add a reference to the Microsoft.VisualBasic assembly, and of course set the WindowState of the form to Normal if it was minimized. ...Show All

  • Visual Studio 2008 (Pre-release) About event handler of overlay controls

    I have a slider control coverd with a border control. When i clicked the border, I want to change the slider's value at the same time. So the slider control should also handle the mouse click event, but it cann't because the border control is in front of it. How can i handle both the border and the slider's mouse click event If I'm not mistaken, routed events traverse the visual tree, not the logical tree. The docs are fuzzy on this (they never explicitly state which tree: http://windowssdk.msdn.microsoft.com/en-us/library/ms742806.aspx ), but I am almost certain that the visual tree is what the events traverse. Can anyone confirm this ...Show All

  • Visual Studio Effort in creating class recipe

    Hi! Is it much work to build some nice wizard that will create all properties in region for me, so I'll just write property name, and type eventually access type and so on. After a few clicks I'd like to have a class with properties generated - making properties always bored me. Jedrzej Ok, so getting back to your original question. If you can live with a wizard presenting a simple UI then you declaratively define one by writing a few lines of xml, no code needed. If you need something prettier then you would need to code what is called a custom Wizard Page, this is like doing a WinForm UserControl, plus the added logic you will need to write to validate entered values yourself, etc. Then, for generating a class, you have a cou ...Show All

  • SQL Server Missing table in Datasource View dropdownlist of ProcessAdd config form of AS Process Task of SSIS

    I made 12 facttables and set them to the 12 partitions. the 12 facttables are the same, and I only build measures on facttable11. My first question is , will this be ok You know, when you build a measure group, it ask you to chose a facttable. I could not chose all the 12 facttables, right I only need to chose ANY one of the 12 tables,right If the answer is YES, could I chose diffrent tables for diffrent measure group and get the same result Nothing mentioned in MSDN. My second quesiton is, when I drop an AS Process TASK in SSIS, and chose to do a ProcessAdd on a partition, on the config form it ask me to chose a table or view that point to the partition i need to Process. On the Datasource View dropdownlist, If I chose the Datasou ...Show All

  • Visual Studio Express Editions DataReader from VB to C#

    Hi! I want to ask you how to translate this. when: Sql DataReder dr; dr = cmd.ExecuteReader(); dr.Read(); VB: txtBox.Text = dr("Name") C# txtBox.Text = dr("Name"); // this ends Error! This DataReader is handled like the method but why VB makes no Error Thank you! but, in shamefulness, I am sometimes such a mistake and stumbling. I want to disappear... ...Show All

  • Visual C# try/catch block not working

    Hello All, Using: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41903 Microsoft Visual C# 2005 wow   you are missing the braces after the method declaration. so it should be: private void calculate_Click( object sender, System. EventArgs e) { try { int leftHandSide = Int32 .Parse(leftHandSideOperand.Text); int rightHandSide = Int32 .Parse(rightHandSideOperand.Text); int answer = doCalculation(leftHandSide, rightHandSide); result.Text = answer.ToString(); } catch (FormatException fEx) { result.Text = fEx.Message; ...Show All

  • Visual Studio Documentation on XML format

    Hi, Is there any documentation available on the xml format used by the class designer Thanks swin AFAIK there is no official document that contains the xml schema of the class designer serialization. But you can check this post: http://blogs.msdn.com/classdesigner/archive/2005/07/29/444501.aspx Pablo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Visual C# 2005 Express, DirectSound - WAV data

    Hi Is there a way to get into the data from a wave file Sure I can play sounds, add effects too, but I wanted to draw a waveform so I wonder if there is a way to put a wave file into some table/array. This would help me to make an FFT of a signal. Some example would do Greets! Thanks, it helped a lot, but I was wondering if it is possible using Direct Sound. Somehow ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tile Engine Tutorial Part 4!!! - Map Editor!

    We have just posted part 4 of our Tile Engine Tutorial by our own Kurt Jaegers! This installment replaces the current map array declarations with a simple map editor that will allow us to visually design and save a map using our tile sets. Part 4 also introduces to mouse input and control along with some basic text rendering... by the time you finish this tutorial you should be able to create your very own tile based map and save it... and reload it the next time you are in the application! http://www.xnaresources.com Haha, always blame it on the gfx developer ;). Nice to see part 5 is on its way, although it's all quite self explanatory the tutorials have been nice to read. They're well written and actually produce something, ...Show All

  • Windows Forms Limit rows in datagridview

    VS 2005 I want to limit the number of lines added in a gridview, can anyone show me the code and which event to place it. Thanks In advance Hope this contribution will help for those who want to limit rows in datagridview... The subrountines simply set AllowUserToAddRows = False if rowcount is greater than allowed number of rows during RowLeave event and set AllowUserToAddRows = True if rowcount is less than allowed number of rows during RowsRemoved. In this example 5 is the max rows that can be enter into the datagridview # Region " dgvContainer_RowLeave" Private Sub dgvContainer_RowLeave( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGri ...Show All

  • Visual Studio How to detect Build Failed from a batch file

    I'm running msbuild from a .bat file on a project file that VS05 kindly wrote out for me:- MSBuild Helper.csproj /t:Rebuild /p:Configuration=Debug Pretty easy stuff, and I haven't even had to delve into the intricacies of .*proj files. But how to detect from within my batch file whether the build failed or was successful TIA Or, you can do this in your batch file - mybuild.bat @echo off msbuild Helper.csproj /t:Rebuild /p:Configuration=Debug IF ERRORLEVEL 0 echo Build success IF NOT ERRORLEVEL 0 echo Build failed It will display success or failed depending on what happens. ...Show All

  • SQL Server Parameter area in RS2000

    Hi, Is there any way to have some kind of control over the controls in the reporting services htmlviewer parameter area. What i really wan't to do is set a minimum width to the combobox's in that area, or a fixed width,it would be good too. Thanks. Oh sure yes there is a css file, I was not aware that you can influence the display behaviour of the controls by these files. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network