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

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

SNMSDN

Member List

BruceAtSaulsCreek
anups
MetroP
AndyCadley
nishanttheone
craig kelly-soens xpectworld.net
jn1412
HamzaNet
BrianBT
Noxerus
Sara Tahir
ostrich
Sameer Seth
TJ9139
Regis
ElvisAsaftei
jocamill
Simon64
Paulo R. Lima
Munni
Only Title

SNMSDN's Q&A profile

  • Visual Studio Express Editions Embedded application Icon in exe

    Hi, I have had a new icon to my project, setting Build Action to Embedded Resource. Using the application tab in the project properties, select this icon as application Icon. The result is that the ICON is not embedded in the "exe" but in a separate folder. how can I embed it in the "exe". Regards I would add them directly to the resources. View the project properties and click the Resources tab. It will tell you if there are none and let you add a resource file in that case. Click on the Add Resource drop down and select Add Existing file. Select the icon you want and rebuild. Now you can access that ...Show All

  • Visual Studio enable GAT for existing projects

    How can we enable GAT for existing projects which are not created through GAT -Sanjeev Hi Sanjeev - The Guidance Package Manager dialog (accessible from the tools menu) lets you enable and disable specific guidance packages for your current solution. Depending on which guidance packages you have installed, it may or may not make sense to enable them for existing solutions that weren't created from GAT project templates. thanks Tom ...Show All

  • Windows Forms how to retrieve value from 2nd form

    Hi! There. My win form app has two forms: frmMain and frmLogin, and a module: mod1. mod1 sub main has this: Dim dlg As New frmLogin If dlg.ShowDialog() = DialogResult.OK Then Dim frm As New frmMain frm.ShowDialog() End If In frmLogin, there are several properties: Private m_UserID As Integer Public Property UserID() As Integer Get UserID = m_UserID End Get Set ( ByVal Value As Integer ) m_UserID = Value End Set End Property I tried to get t ...Show All

  • .NET Development Excel like auto filter for Recordset and Dataview

    Hi, I have looked around everywhere and have yet to find something that really filters a dataviews content like excel. I have a dataview that is bound to a recordset. I want to be able to use multiple filters to narrow down the results. for example i select from a drop downlist a certain value. The results get filtered to show only rows that contian that value for that column. then i select from a different combo box a different value, and the results are filtered more to only show rows tat contin both values, and so on and so on. How would i go about acheiving this. I have only gotton code for 1 colunm to filter. ...Show All

  • .NET Development How to force kill created Threads

    I have a Windows Form which is the main form for my application that creates many threads, and in normal operation i just let the thread to exit automatically. But as I go on with it, when I close my main form, the generated threads that are still running does not abort... what I want is to force all this generated threads to be killed or aborted when my form is closed.... How can i do it Because my problem is the application process is still running in the task manager even though the main form is closed... Thanks.. ...Show All

  • Windows Forms Rogue browser control - AxSHDocVw in Windows Forms App

    Hi, I seem to be getting some crazy behaviour from the SHDocVW internet browser control in my app - whenever i change the visibility or location of the parent form, the browser control seems to pop out and sit in the top left hand corner of the screen - you only notice it if you make the form visible again. Also, if you load a different& ...Show All

  • Visual Studio Express Editions Database - Delete record

    Hi, I have a database and a datagrid to view the data. Now I want to delete a record in the recordset. I use datagrid.RemoveCurrent() to delete the currently selected record. So far it works. But when I restart my program it still shows that record. What do I have to do to make this delete-action permanent Greets, John Hi, What datasource are you binding in your datagrid Be sure that this datasource (DataAdapter maybe) should contain a DeleteCommand definition to be able to send your deletions in your datagrid to the database...     cheers, Paul June A. Domag ...Show All

  • Visual Studio 2008 (Pre-release) Hierarchies in DataContracts

    Is it sensible to create a hierarchy using DataContracts For instance i would like to have one DataContract contain a (generic) list of children that are also DataContracts. What are the issues in doing this Secondly I'm not sure of what my options are regarding initialization of the members of a DataContract. Do I have to have a create method on my ServiceContract for every DataContract I wish to initialize I only really want to initialize value types and instantiate a List (see above). Does this require a call to a service method Thanks for any advice, Dave. You can use the OnDeserializing method to ap ...Show All

  • SQL Server Distribution

    Hi, I am having some problems relating to the distribution (i think) of SMO. I have developed a web-based application (ASP.NET - VB) for the remote administration and management of an instance of SQL Server (either 2000 or 20005). However, while the application builds and runs successfully, from within Visual Studio when i try and publish the website, i start running into problems. i.e. it connects the the sql server and can list the databases, but seems to have problems retrieving server details or database objects (tables, etc...). I think its something to do with permissions (as it normally is), but does anyone have any ideas. ...Show All

  • Visual Studio Team System Enforce Clean Builds

    I have attempted to enforce the Clean Build through a source control check-in policy, but it doesn't seem to work. (I am using Beta 2) Should this functionality be working for me Is there anything special that needs to be done In this instance, I am not trying to check in files using the command line. I will continue to try to get it to work. I just wanted to make sure that it wasn't a known issue in beta 2 and a waste of my time to try to get it to work. ...Show All

  • Visual Studio Team System Task Duration MS Project vs. VSTF Task

    The task duration in MS project is in days. I use man hours in my Team Project tasks (work items). If I say something will take 20 man hours, MS Project sees that at less than a day. What does one do to make more sense of this inside MS Project Jason, You should be able to configure Project to set the number of hours per day so that 20 hrs translates to 2 1/2 days (assuming 8 hrs per day) rather than 1 day. On the Tools menu, click Options , and then click the Calendar tab. If you want to change how many hours Microsoft Office Project 2003 schedules for 1 day, enter it in the Hours per day box. For example, if you want Proj ...Show All

  • Windows Forms Simple Form question

    Hi all, Let's say i have a form for Login/Password. Once the user click on the button Login, id like to CLOSE the login form and bring to the user another form. Kinda like a web page behavior. How can I achieve that behavior Load the "another form" first and from it call GoDaddyLogin.showdialog() ...Show All

  • SQL Server Accurate divisions?

    Hi, how can i get a accurate division in tsql - is there some way of casting Problem is simple, "SELECT 3 / 2" is "1" - what can i do to get 1.5 as result When both 3 and 2 are integers, you get a division by integers, so it's rounded to 1. You could either cast (look up CAST in BOL) to the desired datatype explicitly, or just add a decimalpoint to one of the numbers, then it will be implicitly casted. SELECT 3 / 2.0 ---------- 1.500000 (1 row(s) affected) =;o) /Kenneth ...Show All

  • Visual C# WMI as a C# service project

    Hi, I'm using WMI to write an application for gathering information about the users Computer. That works fine! Now, I wanted to write this application a a service. But I don't get any output. Working with an normal winexe-file, the output looks like this: Operating System: Windows Professional XP As a service, I get: Operating System: So the queries don't work. Does WMI even work as aa service Thanks, Finch. Hi finch, I'm trying to write an App to read users profile and all related information with C# and WMI. Could you give me a clue of how to use WMI and it's methods Thanks in advance ...Show All

  • Visual FoxPro Encryption Questions

    I have written two Functions one for encryption and one for Decryption (using _crypt.vcx), I would like to encrypt all data in my app . I have a few Questions… 1) When creating my tables what do I use for datatypes 2) What about indexing Do I index on Decypt(field1). 3) What about SQL Do I do Select Decypt(field1), Decypt(field2)… 4) What about select * . Is it supposed to be this big of a pain or am I just going off in wrong direction Thanks, Sammy I personally had such ideas fleetingly long time ago and abandoned them as impractical. You will be losing a lot of ti ...Show All

©2008 Software Development Network