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

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

Snyder_PlayMaker

Member List

yangjdong
Kurt S
Bob Surtees
rdrast
Ganapathy
Huy V Nguyen
Joseph Torre
Chris Forrester
vimalpatel2u
Drew Mason
ecn i
Jeek
Gummiman
dom_tiger_99
Klemenp
cconrad
CloseVision
Almon B. Strowger
Gekon
bursteguy
Only Title

Snyder_PlayMaker's Q&A profile

  • Windows Forms Datagrid Relations Dont Update Datasource

    I am having a bit of a problem that is difficult to explain.  I have a 2 datagrids set up like so: 'Parent Datagrid settings FormDataGrid1DataSource = DS FormDataGrid1.DataMember = "products" FormDataGrid1.AllowNavigation = False 'Child datagrid settings DS.Relations.Add("ProductStyle", DS.Tables!products.Columns!prodid, DS.Tables!prodstyle.Columns!prodid) DS.Relations.Item("ProductStyle").ChildKeyConstraint.DeleteRule = Rule.Cascade DS.Relations.Add("LinkStyle", DS.Tables!prodstyle.Columns!styleid, DS.Tables!styles.Columns!styleid, False) FormDataGrid2.AllowNavigation = False FormDataGrid2.DataSource = DS FormDataGrid2.SetDataBinding(D ...Show All

  • Visual Basic publishing

    how do you publish a program so it works on a computer without the .NET framework(a vb.net app) how do you publish a program so it works on a computer without the .NET framework(a vb.net app) You write it in VB6. More seriously, I would like to add the question of whether VB.NET is planned for other platforms. There was talk that the new universal NET languages would allow such migration. The system seems to have fallen back on NET only. Any plans for VB for Macintosh, now that they have Intel processors ...Show All

  • SQL Server Problem during the process database

    This is the error when i execute the code for the association algorithem. "Errors in the high-level relational engine. The data source view does not contain a definition for the 'receiptid' column in the 'receiptdesc' table or view.". Dim ds As New RelationalDataSource( "miningas" , "miningas" ) ds.ConnectionString = "Provider=SQLNCLI;Data Source=localhost;" & _ "Initial Catalog=miningas;Integrated Security=SSPI" db.DataSources.Add(ds) ' Create connection to datasource to extract schema to dataset Dim dset As New DataSet() Dim cn As New SqlConnection( "Data Source=localhost;" & _ "I ...Show All

  • Software Development for Windows Vista Reusing workflows in a State machine

    I have a state machine with states A and B. Both of them have an EventDrivenActivity which has the same sequential workflow. What is the best way to create just one copy of this workflow instead of repeating under both EventDrivenActivities Note that there are other EventDrivenActivities on each state which make them truely different, so combining the two states into one is not an option. Hi Naresh, You can nest both the child state activities into a parent state activity which will have the event driven that invokes another workflow. i.e. State Machine Workflow State 1 (Parent State) |__ ...Show All

  • Visual Studio Tools for Office Action Pane disappears

    I have an Excel Template solution developed using VSTO 2005 that has controls on the Action Pane. I have a custom menu button that the user can use to toggel the Action pane on and off, and everything works fine until the user attempts to open an additional Excel file. If a user opens another Excel file from Windows Explorer by double clicking or selecting open from the context menu, the Actions Pane goes away. I then switch back to the original VSTO document, and using my menu button attempt to restore the action pane. The code displays the paction pane, but now all of my controls are missing. Here is the code the I use to toggel the v ...Show All

  • Visual Basic Wich array type???

    Hi I would like to make an array of some sort, with these things: key(int),Name(String),adress(string),amount(int) ... What kind of array can i use to make this type of data collection It should have some of the same qualities of the dictionary array where you search by the key. Unfortunately the dictionary can only store two values.. You can create a small class to hold the individual items: Public Class Person    Public Key As Integer    Public Name As String    Public Address As String    Public Amount As Decimal End Class Then create a ...Show All

  • Windows Forms ToolStripRenderer

        I am using the ToolStripRenderer class to apply custom styles (such as gradient background color) to toolstrip. In derived class i have overriden the OnRenderToolStripBackground  method and used linear gradient brush to paint the background and it works fine.     But i just want to know if doing this custom painting will affect the performance ( i.e. time taken to paint the control)  that we will get without using the custom painting     The code i have written in OnRenderToolStripBackground   is as follows: protected override void OnRenderToolStripBackg ...Show All

  • Visual Studio 2008 (Pre-release) Proxy Authentication Required

    Hi, I am trying to connecto WCF service from another system where I have only 1.1 framework. When I use the server name in the address, i am ble to contact service. Where as if I use the IP address, then it is giivng the following excpetion. An unhandled exception of type 'System.Net.WebException' occurred in system.web.services.dll Additional information: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). Any reason for this error I even tryed to use the following configuration in my clinet: < conf ...Show All

  • Smart Device Development Rotating app in vb.net

    Hello, Is there a sample out there in vb.net to rotate the screen for wm 5.0 I cannot seem to find anything. Any help we be appreciated. Thanks. John throwing this in a class using System; using System.Text; using System.Runtime.InteropServices; namespace DeKangoeroe { [Flags] public enum DMD { DMDO_0 =0, DMDO_90 =1, DMDO_180 =2, DMDO_270 =4, } public enum DM_Fields { DM_DISPLAYORIENTATION = 0x00800000, DM_DISPLAYQUERYORIENTATION =0x01000000, } public enum DM_Orient { DMORIENT_PORTRAIT =1, DMORIENT ...Show All

  • Visual Studio 2008 (Pre-release) implementing custom control error

    Hi! I’m trying to implement my custom control to my xaml-file but when i complie i get this message: "Cannot locate resource 'scene1.xaml',  which is my only xaml-file... I get the error when I’m adding my clr-namespace to the xaml-file: < Mapping ClrNamespace="AnimationImages" > xmlns:i="clr-namespace:AnimationImages" What am I doing wrong regards /Erik My whole xaml-file: the classname of my custom control is called Montage < Mapping ClrNamespace="AnimationImages" > <Grid  xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation "  xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml ...Show All

  • SQL Server SQL Server 2000 and 64Bit Operating System

    We are in the process of upgrading many of our servers to HP Blades. We currently run SQL Server 2000 on an old Compaq with Windows 2000 Server as the OS. Our new blades have 64bit Processors. We want to go ahead and take advantage of the additional processing power of the new servers but cannot migrate to SQL 2005 at this time. Can we run SQL Server 2000 Standard Edition on a 64bit OS or do I need to fall back to running the 32bit Windows 2003 on the new server until we can perform a full migration If anyone can give me a rundown on our options, I would greatly appreciate it. Thank You The "preferre ...Show All

  • Visual Studio no dynamic image location in crystal reports for VS 2005?

    Hi, I use a database table where the file path of an image is stored in a column. I want to dispay the corresponding image for each row in a report, but found no way to bind to a file. Has anyone some suggestions Thanks, - Stefan Be careful how you package the path and file name. I found that if I entered it as a string, such as "c:\my.bmp", the default picture always came up. As soon as I entered it as simply c:\my.bmp (no quotes), it worked fine. I hope this helps. ...Show All

  • .NET Development Encrypting the app.config file

    My application will use the DataProtectionConfigurationProvider to encrypt my app.config file. I can encrypt the file from within my applicaiton, but I would like to be able to encrypt it outside the application so that the file is encrypted when it is deployed. I know that you can encrypt web.config files with aspnet_regiis.exe. Is there a tool that can encrypt app.config files as well Eric No there is currently no tool available to encrypt your app.config automagically...well at least to my knowledge so don't quote me on that. The difference between app.config for desktop apps and web.config for web a ...Show All

  • Visual Basic DataGridView automatically adding bindingsource columns in VS 2005 Designer

    Hello, I'm experiencing an annoying problem with DataGridViews which are bound to class objects. All fields from my class objects are added to the columns collection of DataGridViews, when the forms or custom controls that contain them are viewed within the VS 2005 designer. I haven't been able to figure out how to stop the designer from auto-adding all of the fields found within the bindingsource object. Any help would be greatly appreciated. Chris Durkin Hi Chris, It's the mechanism of form designer runtime. You can extract the code of DataGridView bounding from the InitializeComponent() metho ...Show All

  • Visual Studio Team System Synchronizing current file in Solution Explorer and Source Control Explorer

    dear all, is there anyway i can sync current selected file in VS 2005 Solution explorer with Source control explorer tree. regards faraz You can rightclick -> Get from either SCE or Solution Explorer. It will prompt you to update the in-memory copy. ...Show All

©2008 Software Development Network