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

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

sascue

Member List

Marcus Rodrigues
bslim
rjdnc
stombiztalker
Slyspa
Dcoder85
lityk
David S. Anderson
DavidThi808
ruleDWorld
uhhuh
Umesh_DB2
J. Wind
br_other
MShetty
ravikk
SolveIt
Simple Samples
Wil Burton
Fabriciom
Only Title

sascue's Q&A profile

  • SQL Server How to create a SQL ev DB?

    Good day All I'm new to databases with C# There are lots of good examples that use an already existing SQLev db and vs2005, but I'm trying to use VS2005 standard to create the SQLev DB (table, etc), when I try to add a new item, is see only the .mdf selection. (I don't have Full SQL Server or SQL Express on my machine, if that means anything) Can you please tell me how or point me to an tutorial Thanks Mike Greenway one catch To make a new ssev db in vs2005 you need to use the "mobile 2003 or ce5.0" project type else when you use "add new item" the ssev DB type will not be available so, I have to make the DB in on project and then use it in my windows or winfx project, right ...Show All

  • .NET Development Which Container to use?

    I am wondering if any body would have an Idea for which container I should use, and maybe some tips on how to impliment it.  I am using reflections to get hash codes from a fully qualified name which includes the application, which form it's on, and which controls are it's parent.  I need to tally how many time people are pressing these controls.  I have the hash codes for them and I want to store the tally with each hash code as the identifying key.  Any idea's would be appreciated. Thanks Matt P.S. - I was thinking about using a hash table but once I put the information into the hash table how do I incriment the value.  This might sound simple and I hope it is, but I don't know how to do it.  A ...Show All

  • SQL Server Stored

    I try to crate a STORED PROCEDURE whit this code. IF (( SELECT Count ( Id ) AS CountView FROM picx_opslagstavle ) > 2 ) SELECT TOP CountView * FROM picx_opslagstavle ORDER BY Id DESC GO my ide is if there are over 2 post in the database ist will delete all post where count is over 2 eks. post 1 post 2 post 3 post 4 post 5 so i will delete post 3,4,5 and not post 1 and 2 bot i can't find out of my problem. i hob i can be helpt here :) thanks for all help. Im done :) i get the problem here is the code IF (( SELECT Count ( Id ) FROM picx_opslagstavle ) > 20 ) BEGIN WHILE (( SELECT Count ( Id ) FROM picx_opslagstavle ) > 20 ) DELETE FROM ...Show All

  • Smart Device Development Problem related saving the image to a file at runtime

    hi all, I want to save the image at runtime. If user changes the current image, then it should prompt for replace and if user says yes, then it should replace the existing image file.or open the savefiledialog to save the image if user refuses to replace. I tried alot but didnt got any solution. DialogResult Result = MessageBox.Show("Do you want to save the changes", "Save", MessageBoxButtons.YesNo,MessageBoxIcon.None,MessageBoxDefaultButton.Button1); if(Result == DialogResult.Yes) if (File.Exists(FormClassReference.DeviceImagesForm.ImageCollection[ImageIndexForPreview].ToString())) { StreamWriter(FormClassReference.DeviceImagesForm.customSnapList.ItemsCollection[ImageInd ...Show All

  • SQL Server inquiry

    I just have a basic inquiry about sql server mngt studio. I have create about 50 tables under the Master database. i no longer want them there and would like to place all 50 of my tables into another database. The only way I can seem to go about doing it, is to go into the code and change "Use [Master]" to "Use [Quickwire]", where quickwire is my new database name. however, since there are so many tables this is a very tedious process. Is there an easier way...like a copy and paste concept Please let me know if there is.. The forum for SQL Server Management Studio is available at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=597172&SiteID=1. If you want to use ...Show All

  • SQL Server Executing a whole container in one transaction

    Hello all, I am trying to build a package running a container that includes several tasks: 2 Execute SQL tasks and a data flow task. I would like to execute this container in a single transaction, which means that if any of the tasks fail, no changes are been made by the container execution. To achieve this, I have followed the instructions of how to configure the DTC on the server and locally, and set the container's TransactionOption Property to "Required". The problem I encounters is that when using a dataflow task in the container, the running process runs OK until it reaches the dataflow task, then it just gets stuck (marking the task in yellow). When removing the dataflow task, left with only Execute SQL ...Show All

  • Visual C# Numbering convention on drag and drop controls in IDE

    I have a situation where when a user creates a new Foo object using the default constructor, a name is automatically created for this Foo object internally. The purpose of the name is because this Foo object will be immediately added to an internal Dictionary, and the name that was created for it will end up becoming the key of the Dictionary, whereas the Foo object itself is the value. These names obviously have to be unique, otherwise they wouldn't be able to be added to the dictionary. Ok, now the first thing that came to my mind on how to solve this situation was being in a .NET IDE, and I drag and drop a new TextBox onto the form, the name that gets created for this textbox is "textbox1". Now, at first I figured ok, maybe it just a co ...Show All

  • Visual Studio Team System RACI Questions

    In MSFv4 each Activity is associated with Participating Roles. Those roles are divided into four categories: Responsible, Accountable, Consulted and Informed (RACI). Where are these categories defined What specifically is the difference between Responsible and Accountable Martin Danner Arrowrock Corporation Boise, Idaho Thanks Randy. Please bear with me here, as I am coming from a traditional, plan-driven project management background. I know that MSF incorporates agile project management techniques that are radically different. Frankly I find this new approach extremely fascinating. However, I'm still trying to get a handle on this new world order. So, with that in mind I'm going to risk ...Show All

  • Windows Forms Hardware Information in VB.net 2005

    Hi, Are there any good tutorials on retrieving hardware information using vb.net 2005, not 2003 or vbscripts. Any help or pointers would be greatly appreciated. Andrew Robinson. What exactly do you need to get from hardware information There really isnt a way in .NET, except for say getting information about the drives in your computer (drive type, capacity etc...) I think you may need to use WMI Example: http://www.codeproject.com/csharp/hardware_properties_c_.asp http://windowssdk.msdn.microsoft.com/en-us/library/ms751672.aspx I think the last link will be the most useful to you ...Show All

  • Visual Studio Express Editions Error Installing C++ Express 2005

    Search the forums for "advpack.dll", there are several threads talking about this problem. This first hit I got might be relevant. ...Show All

  • Visual C++ DlgProc and WndProc as class members

    I have been trying to write a class to manage a bundle of windows - a dialog box with some controls - and have a problem. class pane { ... HWND hPane; ... BOOL CALLBACK PaneDlgProc(HWND, UINT, WPARAM, LPARAM); public: ... pane(HWND); ... }; pane::pane(HWND hWnd) { ... hPane=CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_PANE), hWnd, PaneDlgProc); ... } BOOL CALLBACK pane::PaneDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { ... return TRUE; } This returns a compiler error: error C2664: 'CreateDialogParamA' : cannot convert parameter 4 from 'BOOL(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC' If I declare the DlgProc globally, and call: hPane=CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_PANE), hW ...Show All

  • .NET Development Events latency

    Hello, i've got app synchronizing computer datetime via connected GPS receiver. Now i found out that when computer gets busy, GPS datetime incoming events are delayed. What can i do, please Would app priority increase help, if so, could you be so kind and post link or sample how to do that and what priority level to choose, please Will be this working even i'm using SerialPort (i think it runs in separate thread on the background). Thank you! Without some sort of tag included with the time that shows when the time was sent you can't compensate for latency. The simple network time protocol , for example, includes information that a client can use to compensate for the latency between when the response ...Show All

  • Visual Studio 2008 (Pre-release) confused of creating an instance c#/xaml

    Hi, I have a good grasp of OOP from my Actionscript 2.0 background although I am very new to c# and xaml. I am somewhat confused that I have to create an instance of an object in c# when it already exists in xaml. For example; I create a Storyboard in xaml and call it myStoryboard. If I want to access and manipulate myStoryboard in c# I have to create a new instance of Storyboard before I can set it = to myStoryboard. Why do I have to do this if the instance already exists as it seems to me that I now have an instance of an instance Sorry for the nub question but I just can't seem to fully appreciate the 'why' of this process thank you I dont think you need to create instance again if that storyboard is in resou ...Show All

  • Visual C# Help me understand how to get time to calculate trial using of applications?

    Several applications allow users using them (trial using). If I change my date on my computer they still count date exactly. Now I want to write an app using this technique but I do not know how to do that. Please tell me how I can write this for my app. Thanks in advance! TilakGopi wrote: Save the bios time,when ever application runs in ur application specificatio file in some encrypted format so that user cannot understand ofcourse cannot change it.He/She may try to delete the file. Allow the exe to get run ,if the file exists and if the current bios time is greater than or equal to time in the fie. Hope it works out.Revert back ,if any thing is obscure. Thanx, Ch.T.Gopi Kumar. User can set the ...Show All

  • Visual Studio 2008 (Pre-release) Definition of PrimarySelectionAdornerProvider

    Hi, I have read the article at http://blogs.msdn.com/subhagpo/archive/2006/06/15/633663.aspx and have take a look at PrimarySelectionAdornerProvider and the Extension but I do not find where this class are defined. I have installed the Cider June ctp with VS 2005. What is the assembly to reference and the namespace for use this classes -- Andrea The assemblies that Tim is mentioning are installed as part of Visual Studio. One of the differences with Cider is that our assemblies are installed only with Visual Studio and not with any of the runtime redistributables. A scenario where this will become particularly obvious is when you want to reference Cider specific design time metadata (the ...Show All

©2008 Software Development Network