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

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

sudheer_316

Member List

Mark Benningfield
Philip Painter
Yonglun Li
Rattlerr
TA123
Sukhvinder
Dan L
Eli Gazit
Keithyboy1
David Mc Dermid
Jo_
S4lbullet
kawano1h
kapil.net
Musafir
BhuttCrackSpackle
dazza33
Girish Gangavathi
MartinMcL
Jeff Putz
Only Title

sudheer_316's Q&A profile

  • Visual Studio Express Editions how to populate label on different form.

    I'm trying to populate a label on from. The value for this label is coming from another form which opens up the active current form where the label resides, is this even possible and if so can someone explain how to do it using the C# express designer. ok this is what I want to do. I want to click a value on a listbox which resides on form1 then open form2 and pass the locid variable and perform this query: SELECT        locations.locid, locations.loc_name, locations.loc_manager, SUM(payroll.pay_amount) AS proll_amt, SUM(expensepro.expro_amount)                          AS exp_am ...Show All

  • Visual Studio 2008 (Pre-release) inline an image into XAML

    is it possible to inline an image into a XAML document possibly using a CDATA section ... Thanks, casey There's no built-in way to have, say, a base64 hex representation of binary content, bitmap or otherwise. You can certainly roll your own in a code section, but that only works if your xaml is compiled, and if you're compiling you can simply attach the bitmap as a resource... -Adam Smith [MS] ...Show All

  • SQL Server Reading Records from Excel File

    Hi all, Whilst reading in records from an excel source via the SQL command method I've stumbled across a problem. my SQL query takes in all records where the date column is not NULL, this ensures that only populated rows are obtained. If the date is in a format that is incorrect i'd really like the whole data flow to fail. However... What seems to happen is that any rows with a fault in the date column are just missed out and not pulled through the pipeline. I have tried changing the error output from fail component to ignore error and redirect row but nothing seems to catch it. Does anyone have any suggestions as to why this may be the case Many thanks, Grant The field is converted to a NULL by the driv ...Show All

  • Visual Basic How can I cycle through all the System.Drawing.Colors?

    I worked out the Console version to cycle through all 16 available colors: Sub Main() Dim x, y As Integer For x = 0 To 15 Console.BackgroundColor = CType(x, ConsoleColor) Console.Clear() For y = 0 To 15 Console.ForegroundColor = CType(y, ConsoleColor) Console.WriteLine("Background: {0}; Foreground: {1}", x, y) Next y Console.ReadLine() Next x Console.ResetColor() Console.Clear() Console.WriteLine() End Sub I also worked out a program that cycles through 4 colors in a Windows form: Private Sub btnCycle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCycle.Click Static x As Integer x = x + 1 If x = 5 Then x ...Show All

  • Windows Forms this.Close not working but this.Hide is working

    Dear All, First I have a login page upon verification of the user name and password I will take me to my main form. Currently this how my code works upon verification UserName.Text = "" ; Password.Text = "" ; this .Hide(); Form formMain = new Form (); formMain = new fMain (); formMain.Show(); Then I notice that I should not be using this.Hide cause it uses up my memory and my program is always appearing in my task list of my computer. So I decided to replace this.Hide() with this.Close(). Once I replace my formMain.Show() doesnt show up can some one help me pls. Thanks. I assume your login form is your startup form. When you close it, your pr ...Show All

  • Visual Studio Express Editions General variable declaration question

    I was wondering if there was some place I could find descriptions for things such as "dim, private, public, shared, friend, ect... I don't really know the complete differences between these. That are all access modifiers. They determine the restrictions of a class, structure, member... These keywords differ in C# and VB. For C#, take a look at http://msdn2.microsoft.com/en-us/library/ms173121.aspx (follow the links at the bottom of the page for a more detailed explanation of each modifier) For VB, take a look at http://msdn2.microsoft.com/en-us/library/76453kax.aspx ...Show All

  • Windows Live Developer Forums Live ID SDK - Integration

    It is possible ti integrate .NET Framework to a programm. Is it possible to integrate the Live ID SDK too Because if I send a programm that uses the SDk to a friend, he isn't able to run it (because he doesn't have the SDK). With the Alpha release of the SDK, developers are not able to integrate the SDK with the application. If you want your friend to be able to run your application, he will need to download the SDK seperately. The alpha release is controled, but this is functionality that we may provide in later releases. Are you currently working on an application ...Show All

  • Visual Studio How To: Access the Team Build items in the list of Builds with Add-In?

    I am working on an add-in that will let me interact with the list of builds that are displayed when you double-click on a build type for a given Team Foundation Server project. How can I get a reference to the "build list" window, and more specifically, to the build that is currently selected within my add-in code I've seen some example code on this forum for accessing the version control window/items but I'm not sure how to do it for the "build" window. Thanks. Jeff, Now I understand what you mean. Unfortunately, I think that it is impossible using supported methods. There is TeamBuildBrowserWindow and related classes in Microsoft.VisualStudio.TeamFoundation.Build assembly, but all of those classe ...Show All

  • Visual Studio Express Editions How to create a event handler?

    If I have an option.For example: Reading.Stopping() -> C# tells me that this is a event handler. How I can use it like Mouse_Over I hope you understand me... I put the code " this.OnEventSomeEvent += new someDelegate(someClass_OnEventSomeEvent);" after InitializeComponent() I receive one error: Cannot implicitly convert type 'Program.Program_Window.myEvent' to 'System.EventHandler' :(( ...Show All

  • Software Development for Windows Vista an error about "aspnetwfpageflowexample"

    when i run aspnetwfpageflowexample,input some data,then click the button "page one",then raise an error . Exception Details: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation. Source Error: Line 114: wfprms.Add("InitialCommand", oe); Line 115: wfprms.Add("InitialParams", prms); Line 116: WorkflowInstance wi = wr.CreateWorkflow(Type.GetType(_config.Type),wfprms); Line 117: wi.Start(); Line 118: ManualWorkflowSchedulerService ss = wr.GetService<ManualWorkflowSchedulerService>(); just Put a try catch block around the call to CreateWorkflow, catch WorkflowValidationFailedException and look at ...Show All

  • Visual Studio 2008 (Pre-release) xbap database application

    Hello, does xbap allowed us to make database management applications where database located on different server, i have tried with database interaction with xbap but i got error like 'Request for the permission on type 'System.Data.SqlClient.SqlClientPermission'' failed. can anybody help me with this. regards, vijay prajapati i ashish, yes, i got it, but have some confusion regarding third party call and represent result to client, can u show me with example , how to call third party domain and get data and represent it at client side on specific event say button_click . ...Show All

  • Windows Forms Modified DateTimePicker display

    Have a Date/Time Picker and would like to have the drop down either display times or nothing at all. Basically am only interested in getting the time, have no interest in getting a date. Is there a way to do this or is my only option to use a regular text box Hello, 1) Change the Format to Custom 2) Change the CustomFormat property of your DTP to HH:mm tt. 3) Set ShowUpDown to True 4) Mark this post as answered :-) Regards, Luc Pettett ...Show All

  • Visual C# Rotating Two Dimensional Arrays

    I am using two dimensional arrays to create Tetris style blocks that need to be rotated. I've thought of a number of things, but nothing has worked. I am now asking for help. Since rotation of two dimensional arrays sounds odd, I'll try to make some ASCII text for visualization. Each number represents an element in the array. I'll give two examples. Before rotation: After rotation: 0 1 2 6 3 0 3 4 5 7 4 1 6 7 8 8 5 2 Before rotation: After rotation: 0 1 2 3 0 3 4 5 4 1 5 2 Can someone please explain to me how to get from the before to the after Thx a lot TilakGopi and Matthew! Quoting other posts, I re ...Show All

  • Windows Forms list box Items

    can anyone help me out... I've already populated a listbox with the ID: listItems... now I want to reorder the items... by having two buttons.. up and down buttons.... but once Ive selected an item... The SelectedIndex returns -1... so I cant move the item.. help!!! Move Up: if (listBox1.SelectedIndex > 0) { int i = listBox1.SelectedIndex; object idx = listBox1.Items[listBox1.SelectedIndex]; listBox1.Items.Remove(idx); listBox1.Items.Insert(i - 1, idx); listBox1.SelectedIndices.Clear(); listBox1.SelectedIndex = i - 1; } Move Down: if (listBox1.SelectedIndex <= listBox1.Items.Count - 2) { int i = listBox1.SelectedIndex; object idx = lis ...Show All

  • SQL Server Error in Reporting Services Configuration Manager

    Hello I've got an error when I want to initialize the Report Server by means of RS Configuration Manager. All points are check in green except "Encryption Keys" that is in "Optionnal configuration" and "Initialization" that is in "Not Configured". When I click on "Initialization" an error occured : The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) When I want to browse the report this error occured: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processi ...Show All

©2008 Software Development Network