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

Software Development Network >> M.A.T's Q&A profile

M.A.T

Member List

Robert.Altland
FernandoLeite
Jens Doose
Andy Ho
hasfad
dni
MarcBeuret
vmadan16
Hendro Wijaya
Alberto De Marco
arch_angel81
Philip Wagenaar - Nashuatec
D. Choquette
Sinno
dakota367
Eric Wellnitz
Granada
vbmon
pcompassion
mrginger
Only Title

M.A.T's Q&A profile

  • Windows Forms Prepend new rows to DataGridView instead of append?

    Just like the subject says, I'm looking for a method to prepend new rows to a data-bound datagridview instead of the default append. Thanks in advance for any advice. hello I have the same requirement, but your suggestion doesn't work with databound datagridview. Error msg - you cannot add rows to a bound datagridview. so whats the solution to this thanks. ...Show All

  • Visual Studio Can debug version of DLL be changed to Release?

    Hi, I've this strange requirement. There is a tool for whihc the default configuration of the compilation is "Debug" <PropertyGroup>     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>   </PropertyGroup> I also need to give an option for the release version of the DLL. Now, if I edit this proj file for my requirement, when I compile, It is overridden. As a result, Onley the debug version is executed. One approach I thot was, create another empty project file in which under <usingtask> I can provide for both debug and release version and then call this tool. Tho I'm not clear how it can be done... Somebody please help me :( regards, Kavya ...Show All

  • .NET Development How to Load Xml data to SqlServer

    Suppose i developed a software for a company which has 3 stations, i want to send station "A"  data to station "B" in xml file, for that supoose i have created an sql server 2005 database table using following query create table emp(name varchar(20),father_name varchar(20), address varchar(40)); to generate xml file from database table i wrote following code sqlServerDataAdapter .....   ////// (create sqlServerDataAdapter ) .. ds = new dataSet()            // (Create dataSet) adapter.fill(ds,"emp"); ds.WriteSchema("xmlSchema.xsd"); ds.writeXml("xmlFile.xml");                //supose emp data ...Show All

  • SQL Server Tsql script to connect to another database

    Hi. I am in database db1. in the middle of a stored procedure i want to connect to database @db2 (it is a variable) and i want to execute some commands in it. How is it possible to do that in t-sql Thanks sp_addlinkserver is the process of connecting to the other databases in sqlserver. Happy Coding. ...Show All

  • Visual Studio 2008 (Pre-release) What is the status of MC++ in Orcas?

    With the delay of mixed types and/or support of native PODs in managed classes under C++/CLI moved to the future, how long is MC++ going to hang around I heard rumors that it will be deprecated in Orcas, which would be fine as long as this means it is not being removed. What is the official stance on this …for Orcas and beyond Thanks much, James. If Visual Studio dropped support for C++, they would lose over 50% of their developers. It isn't going to happen. Although, Microsoft has tried to force dumber things..... ...Show All

  • Smart Device Development Retrieving Path of the file

    Hi Friends, I am presently using the path like "\\Program Files\\Images\\image001.gif" But If my application get install on memory card, path may get change. How can we know the path programatically. Thanks in Advance, It’s not suppose to work because devices have no support for relative paths. You have to use absolute paths which you can construct as described above. ...Show All

  • SharePoint Products and Technologies How do i get my web part to remember input when it reloads ???

    Hey i've made a simpel little web part with a few text boxes, a calendar and some buttons, but when i change the date, the whole web part reloads and everything written in the textboxes is lost...  HOW CAN I PREVENT THIS   im using VS 2005 C# and sharepoint 2007, and have tried using ViewState, but it doesn't work >< pleeease help  mads Hello, I am exactly at the same point and I found out this here: the called RenderControl() methods of the objects create simple HTML , without the needed HTML attributes for the ASP.NET code-behind functionality. So your code always creates fresh new HTML controls, every time. Your event handler methods will also n ...Show All

  • Windows Forms Create Trace in my application

    Hi to all, i like to create a application, that will allow user to trace through out code runtime like f11, i will use reflection to open the methods in the user dll. how create a trace in a new window...... please help me........... is it possible, any ideas, i like to do that application in c#. Hi Ritchie, THANKS For ur nice Work.. but i didnt get the exact application u said, can u please provide the exact link, please with regards -Amjath ...Show All

  • SQL Server Deployment to one Database 'Clearing' Another...

    Hi, We have a setup whereby our production server builds to a build cube overnight, and if and when this completes successfully, and passes sanity checks, it automatically backs up and restores the cube over the top of a 'live cube'. This seemed like a fair enough plan - it allows developers to deploy to the production server without breaking the production-live cube, however, we have noticed that deploying to the build cube database sometimes results in the clearing out of the production cube database (much to the users' dismay!). Anyone else seen anything similar, or have any ideas as to what the problem could be Thanks, Will. First time I hear about something like that. Try and see if ...Show All

  • Smart Device Development How to get the current control from a Dialogbox?

    Hi, I am using WM_NEXTDLGCTL notification to try to get the current control info, the code looks like this: LRESULT CALLBACK Settings (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_NEXTDLGCTL: { CurrentCtl = LOWORD(wParam); } break; . . . . . But it didn't work... it seems the dialog procedure doesn't receive this WM_NEXTDLGCTL message..... I just want to know how to get the current control from a dialog box... Thanks in advance.. Use GetDlgItem function instead. For more details, http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/getdlgitem.asp I hope it helps. ...Show All

  • Visual C# how to convert pdf file to doc/txt file

    i want to convert a pdf file to text file and then updates that file..after updating i want to convert that file again in pdf format. create an intermediate bitmap file. this helps you to do the transfer both ways. as im not an expert at coding level. but hope following will give a trigger. private Bitmap StringToBitMap(string paMessageCrop)         { XmlTextReader readerText = new XmlTextReader(new StringReader(paMessageCrop));             MemoryStream memStream = new MemoryStream();             XmlSerializer serializerXML = new XmlSerializer(memStream.GetBuffer().GetType());         ...Show All

  • Software Development for Windows Vista Why WF?

    Hi, I spent the last few months playing around WF, finally have better understand on how to create workflows and design the host applications. Then the next question is where and how to make use of them. My job focus is on Web-based Document Management Solution, which might involved some document approval workflow. One of the basic requirements is we need to provide a way for the users to design / modify the workflow (like many other DMS solution in the market). If we go for WF as the Workflow engine, I've the following concerns: 1) the WF designer seems too complex for ordinary users to understand. Also doesn't work under Browser Environment (actually it can but not recommended because of security issues). 2) a workflow ...Show All

  • Internet Explorer Development Outlook 2003 Email Headers not Printing after IE7 upgrade

    Does anyone know if there is a fix for this yet It seems to be major issue without any reliable work around other than hitting forward button then printing the email. Help! Wahl04 Jumping to the same boat as the rest. External emails formatted as HTML are not printing headers. As luck would have it, the first person in my organization to discover this was the CEO - Doh!! Hope Microsoft is listening. ...Show All

  • .NET Development PingReply is slow

    I have developed a Ping application using C# and it worked fine but after sometime, let's say a day it will be two slow so i have to restart the machine. i am currently using DOS ping command without any problem!! what's the solution.. sure.. this is the full code.. and what i want to know is running this application (or simillar) on the machine for 24hours monitoring using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.NetworkInformation; using System.Xml; using System.R ...Show All

  • .NET Development Maximum cursors exceeded in Oracle via OleDb

    When using ExecuteScalar in a loop, I always get a maximum cursors exceeded error. I use OleDbConnection and OleDbCommand.ExecuteScalar. for each customer in customerList { ... object lastInvoice = myCmd.ExecuteScalar(); ... } If I modify the code to use OleDbCommand.ExecuteReader, no error occurs. for each customer in customerList { ... IDataReader dr = myCmd.ExecuteReader(); if (dr.Read()) { object lastInvoice = dr["dtInvoice"]; } dr.Close(); ... } It seems like OleDbCommand.ExecuteScalar() doesn't close the inner datareader, and the oracle client close the underlying cursor at the connection closing (if the max. cursors isn't reach) Must I add something to use ExecuteScalar (wh ...Show All

©2008 Software Development Network