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

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

dick9

Member List

Mata1979
GreatEscape
Frapazoid
Steeves Saillant
dukerattlehead
DorD
nomik
Abbu Hassan
Pieter van der Berg
virtual machine
PaulRay
babusr
rwiethorn
Ginesh Kumar
Madhu.Babu
mandoman
vr8ce
Param R
DeathByNukes
Ivan Radley
Only Title

dick9's Q&A profile

  • Visual Basic Can some one help me to convert following function to vb, please

    '// write data stream into 'void WriteBits(BYTE* p_buff, int pos, int len, unsigned long value) '{ '    int start_byte, end_byte; '    int start_bit, end_bit; '    int byte_pos; '    BYTE width_mask, or_mask, and_mask; '    BYTE byte_value; ' '    start_byte = pos / 8; '    start_bit = pos % 8; '    start_bit = 7 - start_bit; '    end_byte = (pos + len - 1) / 8; '    end_bit = (pos + len - 1) % 8; '    end_bit = 7 - end_bit; ' '    if (start_byte == end_byte) '&nbs ...Show All

  • Visual Studio Express Editions DataGreid

    can any proffesional help me on datagrid i want date and time write in cells automatic when another cells while fill and if this cells not fill then other cell not write time and date       I want when i fill any cells in column1 automatic enother cells in column 2 will fill with time now and date DataGrid, or a DataGridView What events have you looked at there are many events (such as CellChanged) that will allow you to update another cell after updating a certain cell. Or are you having a problem with Date/Time formats What have you tried The top of the forum has an entry "how to get the ...Show All

  • Windows Forms Custom Toolstrip Collection Items options are not save.

    Hello, A small descritpion about my problem. I created a usercontrol that inherits from a toolstrip (lets say myStripBar) and add one button with modifier property set to public. When I drag and drop myStripBar into a windows form everything is ok until i try to change the button properties (for example enable to false) by going to the properties of myStripBar>Collection. I change the property in design time but when I compile the project the property goes back to the original value. thanks in advance It looks like a bug in the desinger, the changed are not commited. You should report this ...Show All

  • Windows Forms VS 2005 RTM WINFORM DESIGNER BUG IS DRIVING ME CRAZY

    I have a project with various forms but when I try to view the designer for one of the forms I get the following error messages -even though the project atually compiles : I Have looked around and if you type "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " IN GOOGLE you gets loads + a notification by Microsoft that says that they could not fix it before release http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=d863064b-04e0-4b54-8f2e-55a43ba29163 now this leaves me STUCK. I wonder whether somebody has found a stable workaround!!. i get this silly ...Show All

  • Visual C# Socket Programming - newbie question

    hello, I am making a client socket, but i get this security exception. I am not using any security, so can someone please help me identify the root of the problem below is part of my code: private void button1_Click( object sender, EventArgs e) { IPAddress ipAddr = IPAddress .Parse( "64.246.64.37" ); IPEndPoint endpoint = new IPEndPoint (ipAddr, 4500); Socket client = new Socket ( AddressFamily .InterNetwork, SocketType .Stream, ProtocolType .Tcp); button1.Name = "trying to connect" ; client.BeginConnect(endpoint, new AsyncCallback (ConnectCallback), client); ConnectD ...Show All

  • Windows Forms TabControl - Disable/Enable tab page

    I have a tabcontrol with 2 pages. OnLoad the 2nd Tabpage shall be disabled (grayed out and not selectable). Later with code I need to enable the 2nd tab. Any Ideas how this can be done please. /Morten You can't disable a tab as such, but you could mimic it. You could do something like the following: 1. Add a TabControl with 2 pages 2. Set DrawMode to OwnerDrawFixed 3. Attach the TabControl.Selecting event to tabControl1_Selecting 4. Attach the TabControl.DrawItem event to tabControl1_DrawItem 5. Then copy the following code into your form (you will have to change it a little)    public ...Show All

  • Windows Forms Enable Typing of ComboBox in DGV

    Hi all, I read the FAQ doc but the suggested solution doesn't work for my case. I have a "data-bounded" combobox inside a DGV, and now I want to enable users to 'edit' the items of this combobox. Basically, the suggested solution is to: 1. change the DropDownStyle at run time 2. add a new item to the Items collection if the formatted value is not exist. However, my ComboBoxColumn is bounded by a DataSet (containing mutliple dataTable), so is there any workaround for this situation Thanks Hello Anyone know how to enable typing in ComboBoxColumn in DGV Am I hitting the blind spot of DGV :) ...Show All

  • Visual Studio Team System TF30321: The name you typed is already used for another team project

    I had a project fail part way through creation (sharepoint timed out on creation for some reason) and it also failed to "back out" of creation properly.  Now when I try to create a project with that same name I get error TF30321 "TF30321: The name you typeed is already used for another team project on the Team Foundation Server.  Type a unique name for the new team project." I would have thought this was a big problem, but I had already successfully created a project and have since created another project so it seems to be some intermittent issue or timing problem.  I'll post up on the failure separately.  What I'm more c ...Show All

  • Windows Forms Display of Sequence of Images in .Net after certain time Interval

    I want to display Images (I have 10 images) in a interval of 1 sec , just after another Could you please let me know how to do this Thanks I am working in vb.net I will try to implement it and let you know If you have any other input please let me know Thanks Jyoti ...Show All

  • Visual FoxPro Working Folder

    With VFP 3.0 I always checked whether the EXE folder sys(16,0) existed in the same folder as the current working folder set("default") + curdir() . If they did not match then I knew that CONFIG.FPW would not be read. So I would exit and display a message telling the user to modify their shortcut. Is there any way in VFP 6.0 and newer to make sure CONFIG.FPW is read regardless of the current folder or method used to start the program ================== I also used the following method to check if the EXE was already running. To prevent users from accidentally running the program twice and accessing the same set of data files. set libr ...Show All

  • Windows Forms Adding a Button Column to a Dynamically Created Datagrid

    I have a datagrid that is pulling some information back from a database.  Based (by row) on information i Pull back in the fields, I want each row to have a corresponding button that I can add.  Those buttons need to be tailored to the information in its corresponding row.   Does anybody have any tutorials or info on how I can do&nb ...Show All

  • SQL Server Multi-valued Parameter

    Hi There, I need to be able to enter values into a single parameter. For example, I would like to be able to input 1234,5678,5678. I tried several ways but I can't get it to work. Can it be done A list is of no use because the values refer to mobiles which we have thousands of. Is there a way to enter a number of values into the one paramater Please help! Thanks, Rhonda Hi, If your source in a sql query, I would do that: Select ..... From .... Where mobiles_code IN (@mobiles) RS will create a parameter called "mobiles". You just have to set the value of this parameter using the ...Show All

  • Windows Forms Centering column header text in DataGridView

    I'm trying to center the text in 2 column headers in a DataGridView. Can't find a way to do it in the designer, so I've written the following code to accomplish the task... deptDataGridViewTextBoxColumn.HeaderCell.Style.Alignment = DataGridViewContentAlignment .MiddleCenter; branchDataGridViewTextBoxColumn.HeaderCell.Style.Alignment = DataGridViewContentAlignment .MiddleCenter; This *almost* works. The problem is - the text isn't exactly centered over the column. It appears that either it or the column data is offset just a bit. I'm not specifically setting padding either in the column header or the default row style/cell style, ...Show All

  • Windows Forms datagrid cell

    Do do I call the datagrid cell text_onChanged event  for example : when I type the text in the datagrid cell , then it will also change to text in other textbox.when I type 'a' in datagrid cell the other textbox also apear 'a' . How can I do this , I need your help. :) Thank! Daniel's suggest was new to me -- altho ...Show All

  • .NET Development Concurrency Violation When Updating MS Access Db

    I am working on a VB .Net 2005 application with a MS Access database backend. I am able to add a new row to a datatable via a DataGridView control. After invoking the Update method on the TableAdapter, I have verified the new row is written to the Access database with the values I've entered. This problem is I get a concurrency violation error when attempting to save (update) a subsequent edit of the newly added row. I am the only person making edits to this database. This row does contain an autonumber field. Making the TableAdapter.Fill call again to refresh the datatable after initially adding the row corrects the problem, but seems inef ...Show All

©2008 Software Development Network