Software Development Network Logo
  • Visual FoxPro
  • Game Technologies
  • Windows Live
  • SQL Server
  • Visual Basic
  • Visual J#
  • VS Express Editions
  • .NET Development
  • Visual C#
  • Windows Forms
  • Visual C++
  • Smart Device
  • Microsoft ISV
  • Windows Vista
  • VS Team System

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

payyans

Member List

Ron Fowler
ellison8
Gantous
SteeveH
John CHLee
Phenix
KKKKKK
dadaguo3000
MagicCity33
lanerebel
Corinne C
tahir_ali
Arumugam
Drake30
Vania B
maehler
Mikeeee
Rajesh Kannan
iTIE
Desdacato
Only Title

payyans's Q&A profile

  • Visual C# .Net 2.0 Terrarium Status

    What is the status of Terrarium for .Net 2.0 There is a better play to ask this question, in the terrarium forum: http://forums.microsoft.com/msdn/default.aspx forumgroupid=2&siteid=1 ...Show All

  • Visual Basic E-Z Question N vb.net

    Three textbox controls, texbox1.Text = 'number1 textBox2.Text = 'number2 texbox3.Text = 'result when i click my button i want to add the values of the two text boxes and then show the result in the Result textbox3 Textbox3.Text = TextBox1.Text + TextBox2.Text but all i get in the result is the two number i entered, like if i enter 6+6 it will show 66 any help I'm guessing that this is homework so I'm not providing code, but I can tell you what's happening. The Text property of a TextBox is of type String, which means it is just a series of characters. It is NOT a number, even if the characters themselves represent ...Show All

  • Visual Basic wild card

    Is there a way to use a "wild card "in text when comparing the contant of the text field Example: If RadioButton1.Checked = True And ComboBox2.Text = "Hello" Or ComboBox2.Text = "Hello You" Or ComboBox2.Text = "Hello All" Or ComboBox2.Text = "Hello ***" Then Dim aForm As New Form3 aForm.ShowDialog() End If YN What has been suggested is probably the most efficient way, but if your needs get more complex, you can always use regular expressions. ...Show All

  • Windows Forms Modify setup.exe?

    I just found out that the download URL of prerequisites are written directly to the generated SETUP.EXE! In my previous post, I found the solution to dynamically modify the URL in .application files. But I also want tell SETUP.EXE to download from a URL that is only determined after Publish Wizard runs. But I know modifying Windows PE file is evil. Is there still a workaround Thanks! I founnd a class GenerateBootstrapper in Microsoft.Build.Tasks namespace. I think this is the right one that does the job of creating bootstrap SETUP.EXE. But I don't know how to do with it. Can anyone help ...Show All

  • .NET Development Excel Value Prob

    ok now ive got a new prob that i cant fathom "An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll" I get this error now when i want to perform a calculation with another value from the grid Private Sub DtSETUP_RowChanged( ByVal sender As Object , ByVal e As System.Data.DataRowChangeEventArgs) Handles DtSetup.RowChanged Try Dim IntSubTotal As Integer = 0 Dim count As Integer = 2 Do While count < 65 IntSubTotal = IntSubTotal + CType ((DgSetup.Item(count, 2)), Integer ) <-------- This works just fine count = count + 1 Lo ...Show All

  • Visual Studio Creating custom project

    I am trying to create a new project type in the visual studio .NET 2005.There is 28 step method is given for creation of the custom project. At one of the step it is talking about a dll microsoft.visualstudio.package.project. This dll is not available in the vsip. We have downloaded the visual studio 2005 SDK & installed. Please provide simple steps for the creation of the project type. Example of the code will also be helpfull. The microsoft.visualstudio.package.project.dll is not provided as an assembly in the VSIP release. Instead it is provided as source code that you will need to include in your solution and build yourself ...Show All

  • .NET Development how to add a child node

    hi  iam new to xml.i am using .net with xml and c#.  i need to add a node below a node of paricular node for  example in the below xml file i need to add this node "<group>software</group>"  below the all title tags .how to do that in c#   how to do it srinivasan < xml version="1.0" encoding="ISO-8859-1" > <catalog>   <cd>     <title>Empire Burlesque</title>     <artist>Bob Dylan</artist>     <country>USA</country>     <company>Columbia</company>     < ...Show All

  • Windows Forms Another ComboBox Quandry!

    I posted this on another forum, but I'd like some more feedback, so I'm posting it here as well. :D I've got a combobox that I can either type into (I have an autocomplete function implemented, see below), or select a value with my mouse. How can I catch and run a sub on pressing the enter key, tab key, or clicking on a row, but no other keypress Keypress sub of combobox(es): Code:    Private Sub ComboBox_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles CboLookupByAsset.KeyPress, CboServerStatus.KeyPress, CboLookupByName.KeyPress        formBusy = True   ...Show All

  • Visual Studio 2008 (Pre-release) How to get Count in GroupBy

    I tried to translate the very common sql query Select Category, count(*) as NumberOfProducts from Products group by Category into linq syntax. I was able to write it like this: var orderGroups = from p in products group p by p.Category into g select new { Category = g.Key, NumberOfProducts = g.Count() }; Question: is there a O(1) way, to get the NumberOfProducts without using the Count()-Function running presumably O(n) Thanks! Depending on the underlying server, which in all of our cases at the moment, is SQL 2005 - Counting the number of rows in a group is actually a O(1) operation. It has a fixed cost because ...Show All

  • Smart Device Development Unable to start debugging

    1) Im trying to record a sound by using some code provided by MSDN. The operation is performing ..but i want to hear the sound i recorded...which was saved in .wav extension.... To take that 1 i need to connect with active sync and wants to run the application again ...so that i can take the output sound file from mySmartphone->storage of emulator. But after connecting with Activ sync my application is not running and shows an error......Normally (ie .without ActivSync) it is running 2) Microsoft ActivSync Version 3.8.0 Microsoft Visual Studio .NET 2003 Looking for a quick reply .........Thank u Sorry, ...Show All

  • Windows Forms Tear-Off Menus and Tabs in Windows Forms Applications

    I'm writing a Windows Forms app, and I have a few menus which could be usefully dragged off as floating toolbars (as an example, see the Grouping submenu of the Draw menu on the Drawing toolbar in Word 2003).  It's not critical functionality, but I was wondering if there's any reasonably simple way to implement this.  I have tried searching, but this particular feature seems to go by many names, so I may have missed it. Also, drag-off tabs would be useful. Thanks, RyanT5000 ...Show All

  • Visual Studio Tools for Office Outlook: no Add-In does load anymore

    Hi, currently i'm developing with VSTO 2005 ans VS 2005 Team Suite for Office Outlook 2003. I wrote an Add-In with C# and it works well, creating a setup which grants the CAS too. But today i changed some code within, rebuild the solution and tried to start a debug session with a break point right in the ThisApplication.ThisApplication_Startup Method. And nothing happens!! My Add-In was not loaded anymore. I tried to do a reinstall with one of the previous generated setup packages (which worked!) and started Outlook manually. And nothing happens. My Add-In was not loaded. So, even previous versions which worked yesterday doesn' w ...Show All

  • Visual Studio Express Editions Print to File

    Visual Basic 2005 Express Edition: My application creates a one page report and prints it out. The page includes an image. Now, I would like to save that page to a file, so, that it could later be retrieved and viewed on the screen and also have the ability to reprint it. You have several options: 1. create a file format which you write out, storing all the information necessary. When you want to print it, your application can read it in then print it as normal. 2. Use a PDF Printer Driver to print it to a PDF. 3. As above, but create the PDF Formatted file yourself (it's an open form ...Show All

  • Visual Studio Team System MSTest Error?

    I have a project in which I can run a series of tests via the IDE and everything works fine. However, when I run the tests from the command line I get this failure: Starting Execution... Specified cast is not valid. And then the tests stop. This is the command line that I'm using: mstest /testmetadata:pet.vsmdi /testlist:"Lifecycle Management Tests" /testlist:"Utility Test" /testlist:"User Management Tests" /resultsfile:"TestResults\PetTests.trx" If I do only one of the test lists, everything is fine but when I add the second test (or third, it seems to be a varying combination) in there it fails. One of the tests (User Management Tests ...Show All

  • SQL Server How to find matching profiles?

    Users have to answer 17 simple yes/no questions and the answers are stored in an column for each question as tinyint 0/1 values. At least that's what seems reasonable to me at the moment. The table is under my control so I could change it if needed. Now from several tenthousend or maybe hundreds of thousends of entries I need to find those with the closest match. Of course, I need all of the entries that have the exact same answers and this is no problem. But - at least if there are not enough full matches - then I need all records that have maybe 16,15,14... matches out of the 17 answers. I have not yet the idea on how to handle this withou ...Show All

©2008 Software Development Network