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

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

Makubex

Member List

Subrata
hisham_abu
Jargo
JMiguel
MsVicky
jscgraggs
russk
Koltron
173234
Chat Hong
eagle_eye
nkh121
GForce
Mark Doughty
Klayman
Howard Pinsley
Joel Holder
idodo
rabbie
Zodraz
Only Title

Makubex's Q&A profile

  • Windows Forms How to handle exceptoins in datagrid

    Hello every one  I have a question and i would like to share it with you all and that is if I have a datagrid which is bound to datatable Tblitems .The columns of Tblitems are ItmNo(Not Null) and ItmName  if the user did not insert a value in ItmNo column in the datagrid and moved to 2nd row then  a message will be displayed automat ...Show All

  • SQL Server Aggregate MDX [Time Series].[Period to Prior]?

    How to Aggregate period-to-period ratios based on recursive hierarchy through grouping the MDX query result is a flattened rowset! ...Show All

  • .NET Development What is remoting?

    Please suggest a book or some example   Vikram wrote: Hi, While I agree with Hussein and Nicholas, I would still recommend you read the blog of Matt Tavis where he has some recommendations regarding the usage of .NET Remoting. http://blogs.msdn.com/mattavis/default.aspx Regards, Vikram http://dotnetupdate.blogspot.com/    It should also be noted that remoting is not going to be enhanced beyond 2.0, and that EnterpriseServices has been noted as being the easiest in terms of upgrading to Indigo.  For all intents and purposes, Remoting is now a dead end.         & ...Show All

  • Visual C++ C6.0->VS2005 -user messsages- ON_MESSAGE error C2440: 'static_cast'

    Help Needed: I'm moving a program from C6.0 to Visual Studio 2005 C++.  It's an MFC program.  The problem I am having is with ON_MESSAGE handling user messages.  The compiler is not happy with the function prototype for the message handler.  I've made the needed changes to the code to satisfy the stronger type checking of this compliler, but don't understand the 'static_cast' comment.  I've tried making the function 'static', but it makes no difference to the compiler. [from acquiredoc.h] public : afx_msg LRESULT OnSetCameraParms(WPARAM w, LPARAM l); [from acquiredoc.cpp, lines 135-140] BEGIN_ME ...Show All

  • Visual Studio Express Editions Updating a DataBound DataGridView & Database

    Hi, I’m experimenting with (and trying to learn) VB 2005 Express, but I can’t find a way to programmatically enter data into a data bound (bound to Main1database) DataGridView. Basically, I have one edit box on a dialog box with the DataGridView control and a button. The user enters some a sentence into the edit box then clicks the button. The button-click event is supposed to add the sentence to the DataGridView and then update the database so it’s saved. I’ve spent hours playing with code but can’t find a way of doing any of this – I’m a complete novice to VB Express! Could some one provide me with the maj ...Show All

  • SQL Server Exec SQL Task: Capture return code of stored proc not working

    I am just trying to capture the return code from a stored proc as follows and if I get a 1 I want the SQL Task to follow a failure(red) constrainst workflow and send a SMTP mail task warning the customer. How do I achieve the Exec SQL Task portion of this, i get a strange error message [Execute SQL Task] Error: There is an invalid number of result bindings returned for the ResultSetType: "ResultSetType_SingleRow". Using OLEDB connection, I utilize SQL: EXEC = dbo.CheckCatLog EXEC SQL Task Editer settings: RESULTSET: Single Row PARAMETER MAPPING: User::giBatchID DIRECTION: OUTPUT DATATYPE: LONG PARAMETER NAME: 0 PS-Not ...Show All

  • Visual Basic Update database with Null from databound textbox

    Hello, I think the answer to this is simple, but I just cannot seem to figure it out.  I have some databound textboxes on a form connecting to the Northwind mdf database.  One of the textboxes is bound to a field with an "int" datatype and Allow Nulls is set checked. When I run the app, I want to delete the value in this textbox and have the database updated with null. But, when I just delete the data in the textbox, it won't let me lose focus from that textbox until i change the contents to a value.  How do I get the null back into the dataset and database I tried the below line but it said "value o ...Show All

  • Visual Studio Express Editions Visual basic buttons control html buttons

    I need to be able to have a user input test into a text box and then press a button that then inputs the text into a text box on a website ad then the ok button to click the webite button. Help please ...Show All

  • Windows Forms Get Value From CheckedListBox

    Hi , I'm need to get values for all the checked Items. regretfully, I'm getting every time the value of the last cheked Item. // Populate Data Into myClb strQuery = "SELECT code,title FROM tbl1" orclDa = new OracleDataAdapter (strQuery, strOrclConn); orclDa.Fill(orclDs, "tbl1"); myClb.DataSource = orclDs.Tables["tbl1"]; myClb.DisplayMember = "title"; myCld.ValueMember = "code"; myClb.SelectedIndex = -1; // Start Checking foreach ( object itemChecked in clbMifalim.CheckedItems) { MessageBox .Show(" Value is:" + clbMifalim.SelectedValue.ToString() + "."); } Please Help Regards Boaz. ...Show All

  • Visual Studio 2008 (Pre-release) Ip address from client

    Is there any way to extract information, such as the ip address, of a client that makes a call to a contract method The method is called using netTcpBinding. Thanks In the current version there are these ways of acheiving that: - Use dual binding (WsDualHttpBinding or usign the CompositeDuplexBindingElement for a custom binding) - add a custom header on the client and check for it on the server. You can do this transparently for the client code by utilizing the IClientMessageInspector ...Show All

  • Windows Forms Windows Form generic form

    Hi, does anybody knows of any issue/problem/drawback on using a generic Windows Form for databinding I'm thinking about defining a generic form to handle common data operations in a new application that I'm working on, using a generic type to describe my data source entities. I've just found a trivial problem with the designer, that doesn't sincronize the autogenerated partial class code signature with my generic one. It's a trivial problem because you just need to synchronize your partial class with the one autogenerated by the designer and then everything seems to work fine. I didn't found any other kind of problem, at this moment. Do you ...Show All

  • .NET Development Pause a thread using Monitor

    Hello, How can i use Monitor to set a thread to pause for i nfinite amount of time. Same as the Thread.Suspend() method Monitor.Enter(MyThreadObject) Monitor.Wait(MyThreadObject, T imeout.) Monitor.Exit(MyThreadObject) This will set MyThreadObject into a infinite pause (suspended state) so that i later on can resume it by using Monitor to awaken the thread (Not Interrupt) Pausing the thread must not interfer with the application UI! Regards, Peter. Monitor is not ideal for what you're trying to do. Have a look at ManualResetEvent and AutoResetEvent instead. As an example ...Show All

  • Windows Live Developer Forums You've built your BOT, now get the Unlimited RL for it

    I want to follow up my previous post about free tools for builidng BOTS on Messenger and answer the BIG question that a couple people have had. To remind everyone, this is the offer from Conversagent to provide free access to their BOT building SDK for six months. The big question being "okay, I've built my BOT ... how do I get the unlimited reverse list for it " Here's the answer: For people that have built their BOT on top of the Conversagent SDK you can contact bizdesk@microsoft.com to have the RL limitations removed for your application. When doing this, you'll need to provide you're bot's Messenger ID and the PUID associate ...Show All

  • SQL Server Restored Database/Diagrams Support/SQL-Server 2005

    Hello, I have restored a database from SQL-server 2000 into SQL-server 2005 and when I try to install diagram support, I receive this error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects. ------------------------------ Section 5.8.1 of the SQL 2005 Readme file says: The installation of these support objects ...Show All

  • Windows Forms how to minimize flickering when maximizing windows (form is being redrawn)

    i have used docking and Panel controls to correctly position various controls on the form and i am using pictures as background for my form how do i minimize the flickering when the window is maximized/minimized so that white flashes donot appear when the form is being redrawn. First of all I have the same problems. While quering to the subject I discovered that removing those images (I used an image in the form background and in the dock manager background)  eliminates almost all of the flickers.   Second issue, you should examine, is data loading, do not load data in the load event of a form even though al ...Show All

©2008 Software Development Network