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

Software Development Network >> Visual C# Novice's Q&A profile

Visual C# Novice

Member List

bigbob
stswordman
Chernichkin Stanislav
jgd12345
ChrisHelt
PARVAIZ
soni_ace
OliWarner
search and deploy
MWatts
Peter Doss
Joran Omark
Arghya
HadaytUllah
EnterBS
WGrigg
Sinh
eyew
MikhailGol
christophw
Only Title

Visual C# Novice's Q&A profile

  • SQL Server Data Flow Task - OLEDB Source / Destination

    Hi Inside a data flow task, i have a oledb source and destination. In my situation, I need to pull data from a table in the source, but also hard code some columns myself, which means my source is a blend of data from table, hard coded data, which will then have to be mapped to columns in oledb destination. Does anyone which option to choose in the oledb source dropdown for the data access mode. Keep in mind, i do need to run a a select query, as well as get data from a table. Is it possible to use multiple oledb sources and connect to one destination, because that is really what intend to do here. I am not sure how it will work, or even if its possible. Basically my source access mode needs to be a blend of sql command and table column ...Show All

  • Windows Forms How to get Checked Items/Nodes in Treeview Control

    Hi to all, I'm using VB.net 2005 and i'm kinda new at it. I had a Treeview with checkboxes shown on in. I already figured out how to populate Items on it, but my problem is that I can't find a way to get all the checked Items on it to its lowest node level. I hope somebody here can help me. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e1 As System.EventArgs) Handles Button1.Click test1() End Sub Private Sub test1() Dim s As String Dim i As Integer = 0 Dim j As Integer test2() While i <= TreeView1.Nodes.Count - 1 If TreeView1.Nodes(i).Checked = True Then j = 0 Dim childcount As Integ ...Show All

  • Visual Studio Express Editions Using Modules....

    I have a VB project with a windows application form with a series of contols. I also have a module that contains a sub to run through the windows controls and then based on the checked boxes assigns boolean true or false... once that is done the sub runs a search on a database... The problem that I am having is that the sub is reading all controls as false for instance.. on windows form I have a checkbox named "checkbox1" Then I have a background Worker that calls the module and sub to run. on the module I have a sub that says something like this. Dim ThCheckbox1 as boolean If windowsform.Checkbox1.checked = True then ThCheckbox1 = True If ThCheckbox1 = true then <<< this is where the code does not ...Show All

  • Software Development for Windows Vista ICredentialProvider

    Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft.public.platformsdk.security&cat=en-us-msdn-windev-winsdk&lang=en&cr=US&pt=&catli ...Show All

  • Windows Forms date & time difference

    I have two DateTimePickers (dateFrom and dateTo).. I want to get the difference in words.. for example, two days, eight hours, twenty two minutes use a timespan object and query the object. TimeSpan ts = dateTo - dateFrom; Console.WriteLine(ts.days); //get the days for example ...Show All

  • Visual Studio 2008 (Pre-release) inline an image into XAML

    is it possible to inline an image into a XAML document possibly using a CDATA section ... Thanks, casey just threw some code in :) < Window x:Class = " WindowsApplication1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Loaded = " Window1_Loaded " > < StackPanel > </ StackPanel > < x:Code > <![CDATA[ void Window1_Loaded(object sender, RoutedEventArgs e) { this.Title="yoohoo"; TextBox tb = new TextBox(); tb.Text="hello world"; StackPanel sp= this.Content as StackPanel; sp.Ch ...Show All

  • SQL Server Pasword Data Type

    Hello ... I want to ask about the best data type protected for pasword colomn in SQL Server .. to make my DB more secure ... thanks ... That depends on the version you are using on the effort you want to put in your front end application. There are two ways. Server encrypted data (which is accessible in SQL Server 2005) or client encrypted data (or the combination of both). In SQL Server 2000 I always used a client library to encrypt / decrypt the data that was passed to the server. In SQL Server 2005 there is a server based functionalty for encrypting data. HTH, Jens SUessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Team System Sharepoint vs. Version Control

    I was doing some contemplating this afternoon and I started to think about Documents in a project. Team System lets you store all kinds of documents in a Sharepoint portal which allows you to check them in and out. So it has a basic version control functionality. Besides having the document available to anyone on sharepoint is there any other good reasons to have documents in Sharepoint instead in the projects Version control Does it make a difference Does sharepoint use the same data base as Version control Which would be faster and/or more efficient Whether you use sharepoint or vesion control largely depends on your users. If the users are more comfortable with dealing with office docs (Word, Excel, etc.) from a web ...Show All

  • Visual C# asynchronously or synchronously?

    I have seen the Ping code in this link: http://msdn2.microsoft.com/en-us/system.net.networkinformation.ping.aspx and i would like to know what is the difference between asynchronously ping and synchronously ping A synchronous ping, activated by Send(), blocks your program until a response is received. An asynchronous ping, activated by SendAsync(), keeps your program running; you'll need a PingCompleted event handler to know the outcome. ...Show All

  • Software Development for Windows Vista About WorkflowRuntime.CreateWorkflow

    see Code1: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); workflowRuntime.StartRuntime(); Type type = typeof(MyWorkflow); workflowRuntime.StartWorkflow(type); Code2: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(HelloWorldWorkflow.Workflow1)); instance.Start(); question: why i can't find CreateWorkflow method of Workflowruntime in my SDK document, what is the difference between them There is no good reason to still be using Beta 1 since there have been changes to almost every area of the product since then. Below are links for installing the latest build. For the runtim ...Show All

  • Windows Forms Form inside form. MDI?

    Hi, I am a C# newbie. I need to have an MDI behaviour for portion of the form. Like in Visual Studio. Portion of the app remains static(list of files, classes), and portion changes(the editor content changes depending on the file selected). So, the MDI behaviour is for the right panel(which contains the editor portion). How can I achieve this. R Put your static controls in panels that you dock in the MDI parent. The remaining area will automagically be used by the MDI child forms. ...Show All

  • Visual C++ Does VS2005 include Windows Installer?

    Does VS2005 include Windows Installer If so, how do I run it to create an installation package for users to install or upgrade my products Suppose you're looking for "Walkthrough: Deploying a Windows-based Application ". If you're clever enough to look under MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio > .NET Framework Programming in Visual Studio > .NET Framework Core Development > Deploying .NET Framework Applications > Deploying Applications and Components > Windows Installer Deployment > Windows Installer Deployment Walkthroughs > Deploying a Windows-based Application you will find this article on MSDN (what does .NET ...Show All

  • Visual Studio Trying To Use Solution Folders for Projects

    Good Morning All, I've been trying to use solution folders to structure our solutions into sensible chunks with much difficulty. Apologies for the dis-jointed nature of this post, but I'm trying to get down as much information as I can. As the solution template only allows physical folders to be created I've initially created all four of my projects in the solution's root. I have four arguments which hold Project types and are evaluated "OnBeginActions" for each of the projects. These look up the projects by name using the ProjectByPathExpressionProvider, passing in the name of the project to the PathExpression attribute. These arguements are evaluated at the beginning of the actions block, and are correct at that time. The ...Show All

  • Visual Studio Team System Merged Changesets List

    (#Reporting forum asked me to start a thread about this topic in this forum. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=767423&SiteID=1 ) Hi All, I am trying to get a report that would tell me what changesets that were merged. For example, I merge 10 changesets from my Dev line to my Test line and then commit the merge by checking it it. This would create 1 changeset coz of the checkin and the merge operation is complete. Now, can I generate a report that tells me what 10 changesets went in to the Test line. Any suggestions Hello, You original question was about past merges history whereas merge candidates give you the information about possible merges that may be performed. And you are ...Show All

  • Visual J# Populating a forms ListBox from another thread

    I'm developing a Chat Client and need to populate the ListBox on the interface form from another thread. How can I go about doing this I've tried playing with delegation but it doesn't seem to work, I continue to get the "Cross-thread operation not valid: Control 'whosOnlineList' accessed from a thread other than the thread it was created on." (Where whosOnlineList is the ListBox.) public class Client { protected delegate void addListBoxItem(Object item); public addListBoxItem addWhosOnlineItem; private void _addWhosOnlineItem(Object item) { gif.whosOnlineList.get_Items().Add(item); } public void run() { addWhosOnlineItem = new addListBoxItem(this, "_addWhosOnlineItem"); public class Receiever { p ...Show All

©2008 Software Development Network