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

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

Demonslayer

Member List

gra67
Jagdish Kumar
daniel mark
dayjur
Mark Macumber
okey83
c.c.chai
Ray Dyce
Abhishek Chadha
Mystagogue
NeedSomeAnswers
thomasabcd
dayrinni
Joel Martinez
clarkie
bobchauvin
Mongsreturn
USJOHN
James Alexander
o s l e
Only Title

Demonslayer's Q&A profile

  • Visual C++ No compile errors, only have one warning message

    The following code is put in a header file which is called Record.h...... class Record { private: char name ; Record *pNext; public: Record() { pNext = 0; } void setName(char *nm) { strncpy (name,nm,5); name[5] = '\0'; } char * getName() { return name; } void setNext(Record *pC) { pNext = pC; } Record * getNext() { return pNext; } }; The whole programme can be compiled, but only one warning message is shown as follow: Warning 1 warning C4996: 'strncpy' was declared deprecated Can someone tell me more detail, please Thank you!! Dicky Either there is something wrong with your installation of VC or the error message you posted is incomplete. When I compile code equivalent to yours, I get: war ...Show All

  • Visual Studio 2008 (Pre-release) Customizing WPF DataTemplates....

    I have defined a dataTemplate as follows: <DataTemplate x:Key="photoTemplate_Small"> <Grid Width="Auto" Height="Auto" x:Name="Grid" Margin="10,10,10,10"> <Grid.ColumnDefinitions> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Border HorizontalAlignment="Left" Margin="0,0,0,0" Width="Auto" Background="sc#1, 1, 1, 1" x:Name="Border" BorderThickness="0,0,0,0" CornerRadius="8,8,8,8"> <Image Source="{Binding Path=ThumbNailPhoto}" Width="100" Margin="5,5,5,5" x:Name= ...Show All

  • SQL Server update problem

    In this project I m using SQL Server 2005 express edtion.I can run select queries but I couldnt run update query like this : UPDATE tblBorc Set bKalan=@kalan,bOdenen=@odenen where tblBorc.bID=@borcid and sending some data like this : borcekle1.borcguncelle(10000, 250000,1); Is there any mistakes thanks. hi, chances are you are simply overwriting your modified database with your "initial" database.. please have a look at http://msdn2.microsoft.com/en-us/library/ms246989.aspx and verify the setting is not "copy always" but "copy if newer only"... regards ...Show All

  • SQL Server ODBC Driver for SQLServer Everywhere/Compact from Access

    So far I've been unable to connect to a test SQLServer Everywhere/Compact database with MS Access. I installed the new SQLServer 2005 Native Client to no avail. Has anyone done this If you are trying to sync the data between Access and the SQLServer Compact edition, you might need to download the synchronizer. The following link should provide you a quick overview and the access to the software. If this is not what you intended to do, please provide more details on what you are trying to accomplish: http://www.microsoft.com/downloads/details.aspx FamilyID=B967347A-5DD0-445C-8A9F-AEA3DB9EC4BC&displaylang=en Regards, Riyaz ...Show All

  • Windows Forms i want to change the datagrid column header how can i do this

    i want to change the datagrid column header in the following function for example "Supplier ID" instead of SupplierID how can i do this Public Function Load( ByVal dg As DataGrid) Dim objSupplier As New Supplier Dim SupplierID As DataGridTextBoxColumn qry = "Select SupplierID,SupplierName,Address,City,Telephone,SupplierType,CreditFacility FROM Supplier WHERE IsDeleted = 0" mTable = objDataBase.GetData(qry) dg.DataSource = mTable End Function Dim TableStyle As New DataGridTableStyle Dim ItemIDCol As New DataGridTextBoxColumn mTable = objDataBase.GetData(qry) dg.DataSource = mTable ItemIDCol.MappingName = "ItemID" ItemID ...Show All

  • Windows Forms I can't figure this "Enter" thing out! Please help.

    Ok, so I am creating a web browser. Everything is fine and dandy, except I wanted the capability of the user pressing "Enter" after they type in the URL instead of having to go click on "GO" button. Thats nice... So I go to the properties of the combobox, select "Keydown" and create a new keydown event. In that event, I write: webBrowser1.navigate(combobox1.Text); I run the program... and It works alright! However, it automaticly tries to connect the the URL before I even get it typed... So by the time I type in www.yahoo.com , it's already navigated there without me pressing the enter key. This is a neat little thing, but I don't want it to work that way. Is there some kind of Break I can use to stop the URL in the U ...Show All

  • Software Development for Windows Vista In July CTP, using StateMachineWorkflowInstance to obtain CurrentState freezes workflows in that State

    Dear all, I have a working StateMachineWorkflow hosted under asp.net 2.0. I have written a simple routine (shown below) to interrogate the current state of a workflowinstance: public string WfCurrentStateDescription(string WorkflowInstanceId) { // Get the workflowRuntime which was started in global.asax WorkflowRuntime wfRuntime = (WorkflowRuntime)Application[WorkflowRuntimeKey]; StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, new Guid(WorkflowInstanceId)); return wfInst.CurrentState.Description; } I find that, once I have called this on a workflowinstance, that instance gets "stuck" in the current state and never transitions to the next state, even though code appears to get c ...Show All

  • Visual Studio Team System What WeightedMethods means?

    Hi Friends What WeightedMethods metrics means Someone knows an URL about this Thanks in Advance Washington Moreira For Eg: In a class , if it has 4 methods "Add()","Update()","Delete()","Select()" The WMC(Weighted method per class) = 4 ...Show All

  • Visual C# Building a solution in C#

    im new to C#, can somebody explain in detail how to build a solution in C# and what does solution mean. can't we directly give the code folder. when im deploying web application can't i directly point my virtual directory to the folder of my application. thanks ...Show All

  • .NET Development Control Telnet Client from Process Object

    Has anyone been successful in controlling the XP telnet.exe or Putty's plink.exe from a Process object I can run DOS commands and other applications with redirected input/output, but simply get a hung application when trying to run a telnet client. Does anyone have a simple example they could share, or another way of doing a simple Telnet connection Thanks. I guess "formatting" was a bad choice of words. I'm talking about the codes/commands that come back from the AIX box I'm trying to connect with. I can decipher these into their telnet commands (i.e. authenication, terminal type, etc), but how do I determine what to respond back with I see a listing in RFC854, but I'm unsure as to what to res ...Show All

  • Visual Studio Express Editions another combobox problem

    PS my other problem was answered and everything works right now. Now I have one more question: I have 10 comboboxes on my form displaying values from the same table: ComboBox1.DataSource = MaintenanceDatabaseDataSet.MachineTable ComboBox1.DisplayMember = "Machine name" ComboBox1.ValueMember = "Machine Number" ComboBox2.DataSource = MaintenanceDatabaseDataSet.MachineTable ComboBox2.DisplayMember = "Machine name" ComboBox2.ValueMember = "Machine Number" etc Everytime I chose value in one combobox all of them change!!! I want users to be able to chose different values from every box. How can I do that The currency manager will ...Show All

  • Microsoft ISV Community Center Forums Generating Dialog Messages thru VBA over Excel

    Hi Guys and Girls, Thanks for the help so far. I'm on the last step. I need to generate fairly long dialogue messages dependant upon the data the user has entered. A sort of lok up using Inputbox which I understand and Dialogue boxes which I don't. I'm really stuck, I just need a little code that goes if data_entered = XX then .... open this dialogue box containing this text else if .... open another dialogue box else if .... another end. Is it possible to dynamically load texts to dialoge boxes rather than hard code them Again thanks for the help so far. Hamish Thanks but MsgBox is limted to what Excel offer. It n ...Show All

  • SQL Server Create Customer Ranking in Cube

    Hey guys, is there a way i can create a Rank Member or measure in my cube based on sales for that customer, no matter what time heirarchy we are looking at. I have reporting requirements where they want to see all customers, ordered by Sales Amount. It could be at a year level, month level, or even a week/day level.. Im new to SSAS and MDX, i have looked at a few examples posted here, but cannot work out where i put the script in my cube. Is it a measure or do i do it as a calculated column in the DSV. Any help is much appreciated. Thanks Scotty For Adventure Works, you can put something like that inside MDX Script: CREATE [CustSalesRank] = Rank ([Customer].[Customer Geography]. CurrentMember ,[Customer].[Cus ...Show All

  • Visual Studio Tools for Office Excel.Quit() issue and Worksheet.Delete Question

    Hi folks, i encountered some issues working with Excel. Create a WIndows Forms app in C#, just add a button and put the following code into the click event: Microsoft.Office.Interop.Excel. Application excel; excel= new Microsoft.Office.Interop.Excel. ApplicationClass (); excel.Quit(); now watch the taskmanager, you will have douzent of excel applications running. i found a workaround, by setting excel to null and bothering the GC (GC.Colloct()). This does not work if you do some code stuff between (meaning, that the excel object drops in further generations of the GC), the Task still remains in the Taskmanager, any ideas the other question i got is about deleting a worksheet: Workbook lWorkbook = ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How about a Camera parameter in the IDrawable.Draw() call ?

    IMO the gametime parameter should be removed from the IDrawable.Draw(GameTime gameTime) method. Game time is very seldom used in draw calls - and if its needed it should be obtained some other way (e.g. global timers). Id rather have a Camera class (or ICamera interface) passed in the Draw call. Then all camera properties are ready at hand for rendering. Preferably a drawable object should know as little as possible about the context in wich it is to be rendered until the specific render call. That makes rendering the same object in different context much easier (e.g. changing be tween cameras, rendering to splitscreen). Handling context change should be handled OUTSIDE the drawable - not inside. Any opinions ...Show All

©2008 Software Development Network