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

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

Balamgn

Member List

jkelaha1
WillianNG
Scott Ferrett
Jan Byvaly
sparkymark75
deviao9
chaitea
GirishP
Delusion7
dityaprirody
Arnon Rotem Gal Oz
DonLovesDogs
Buck_Danny
P.Shivaram
Anders Sneckenborg
MikMak
sparrG3TI
Mustafa
kungpaokitty1
Boonster
Only Title

Balamgn's Q&A profile

  • Windows Forms cannot edit DataGrid columns when dataSource is DataTable

    Hi All, I'm creating a dataGrid and assign a data table as a source. I'm able to view the data but i'm not able to edit it.  Regards, Bajoo I'm confused by this part dataGrid.DataSource = dataTable.DefaultView;  Why isn't it like datagrid.datasource = datatable Also, I have a few pet peves about your code here, just some advice. don't ever name variables ...Show All

  • .NET Development Form data saved to XML file

    Hello there, I am new to this community and I have a somewhat embarrising question to ask the experts here. I am just starting out with XML and would like to know the following I am going to write a simple website which allows users to submit form data. What I want is that the data is then stored in predefined XML sheets, which in turn I can then use for other XML compliant applications that use the same standard. Whats important for me is that I do this without any DB aplication. I know a fully explained "how-to" would be to much to ask from you, but some pointers or known references would me a great deal. Thanks for y ...Show All

  • Software Development for Windows Vista About persistence, IEventActivity, Transactions and correlations

    Hi, I have a bounch of questions. 1. Persitance The activity can be adorned with the [PersistOnClose] attribute. What happens in the following scenario: - we have a sequential workflow with 2 activities: A1 followed by A2 - activity A1 is adored with the [PersistOnClose] - A1 finishes executing and moves to Closed state - the runtime persists the activity A1 - the computer crashes - after the computer is restarted, the workflow hosts is started again. The persistence provider automatically (am I right ) loads active workflows and continues the execution at the activity A2 . Right How does the runtime know, which activity should be ...Show All

  • Visual Studio Express Editions Hi I need a math expert

    Hi i need some help building an advanced calculator using vb .net 1st i want to calculate the logarithm and the ln; i used math.log(x) but it returned a number different than the one i get using the windows calculator. Also i need to calculate sin^-1(x) but i cannotmake it 2nd i need a help with keypresses. i made my codes in the form_keypress but when i click on any button it focuses and then the keypress doesn't work and when i press enter the button focused is clicked, i wrote Me.Focus () in each button sub but it didnt work. but when i wrote it under form_lostfocus it worked but i had another problem which is i cant select any item in t ...Show All

  • Visual Studio How Can I add some data to specific page ??

    Hi I have report and I know it's only 3 pages …. If I need to add some text data to page 2 .. How can I do that Means How can I add text information (maybe from Parameters) to specific page .. Like only page 2 And thanks with my best regarding Fraas hi In second page add text filed with instabce name textTitle and i n run time u can get to this filed and write in anything u want TextObject textTitle; textTitle = Report.ReportDefinition.ReportObjects["txtDetails"] as TextObject; textTitle ="HELLO ..." I hope its will help u ...Show All

  • Visual Studio 2008 (Pre-release) Binding to a property of an item contained in an ItemTemplate

    Hi guys, here's the scenario. Say I have scene that contains a UniformGrid of buttons that are then templated as rectangles. The scene also contains a Canvas control. I'd like the height or width of the Canvas control to be a multiple of the height of one of the items in the UniformGrid. The catch is that I have no hardcoded values for the heights or widths of any of controls on the scene, I'm just allowing the layout engine to do all the work. As a result, trying to use the height of the UniformGrid container (and dividing by the number of rows for example) doesn't work because I get back a value of NaN. Any pointers as to what I s ...Show All

  • Visual Studio MSDN online search does not work

    Hi, We recently switched to VS 2005 at the office and we have a problem with the MSDN online search that I'm not able to figure out. In this file C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config there are the machine-wide configuration for the .NET runtime. Under one of the section groups (system.net) there is a section called defaultProxy. <section name="defaultProxy" type="System.Net.Configuration.DefaultProxySection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=..." /> if no section.net entry in the XML file is defined, the default configurations from I ...Show All

  • Windows Forms OptimizedDoubleBuffer

    I heard somewhere that by setting ControlStyle.OptimizedDoubleBuffer, you automatically have ControlStyle.UserPaint and ControlStyle.AllPaintingInWmPaint set as well. Is this true The API is unfortunate, but it is a ControlStyle which affects a minority of users. Typically, we'd suggest Control.DoubleBuffered. Marking Obsolete is akin to ripping it - we generate build warnings for every project where it's being used. It's just plain too late for the change and we'll have to rely on the docs to explain i ...Show All

  • Visual Basic Add text to a text box from a module

    I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn.Text End Sub The text box is not updating with the text that the variable strRXData contains (checked!). This worked fine in VB6. Any help would be appreciated. Thanks. ...Show All

  • Visual C++ 64Bit-Unable to Register COM dll using regsvr32.exe on WinXP64 bit and AMD64bit machine

    Hi, Im executing the following command: c:\regsvr32 mydll.dll. Following error occurs: "mydll.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered." NOTE: 1. mydll.dll is a 64bit ATL COM dll built using Visual C++ 2005. 2. this error occurs both with debug and release version of mydll.dll    Any pointers to successfully register my ATL COM dll would of much help. Thanks in advance. -shailesh.d.g I want to write a windows services program on vista but my program will run on windows xp but not to run on vista I don't know w ...Show All

  • .NET Development RE

    Hi all, I can't really summarize my questions into the subject as it's quite complicated. This is my situation. I'm going to have hundreds of objects of the same class (to be concise, hundreds of TCP connections wrapped by the class Connection), none of which needs to be referenced--they work on their own, and will stop when no longer needed. To make the program non-CPU-intensive I used asynchronous I/O, hoping that the methods held by AsyncCallback delegates will keep the objects alive. I then wrote a tester program which seemed to perfectly support my assumption, as seen below. It starts the listener thread, initiates a TCP conn ...Show All

  • SQL Server How do load all raw data in one directory into the database

    Hi, Is there anyway to load all the raw data in one directory into the database l've several files with same format but different filename in one folder which l do not know their filename before hand. Is SSIS For Each Loop can help me to accomplish the file loading If so, where can l find the example Thanks you. Regards, Yong Boon, Lim Yes, For Each loop is the one to use. Looping over files with the Foreach Loop ( http://www.sqlis.com/default.aspx 55 ) ...Show All

  • Software Development for Windows Vista Where is the WAIK?

    I keep reading that the WAIK is one of the updated things in the 5308 build. I have looked everywhere and I can't find an install for it. Does anyone know where I might find it The updated 5308 WAIK iso was just posted to the Connect website with the last day or so. It came later than the straight Vista Client images. ...Show All

  • SQL Server Grant CREATE VIEW, CREATE PROCEDURE ...

    Hi, I have currently a problem with setting up the permissions for some developers. My configuration looks like this. DB A is the productive database. DB B is a kind of "development" database. Now we have a couple of users call them BOB, DAVID, ... who are members of the db role db_reader and db_writer for the productive db a but they should be allowed to do nearly everything on db b. Therefor I added them to the db role db_owner for db b. For testing purposes I tried to "CREATE" a view TEST as BOB in database B but I received the error message ' Msg 262, Level 14, State 1, Procedure Test, Line 3 ...Show All

  • .NET Development doesn't actually set the value...

    I was given the following code to set a value in an object from a string like "Header.field.str".  It seems to function correctly but never sets the value.  Any help is much appreciated... public static void SetValue( object baseObj, string fieldName, object value) { MemberInfo member = null ; //The current field/property matched Type typeCurr = baseObj.GetType(); //The current type of the field/property matched object data = baseObj; //The previous object/property that matched string [] names = fieldName.Split( '.' ); foreach ( string name in names) { //We are still going so get ...Show All

©2008 Software Development Network