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

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

WJ53418

Member List

Ksa_Java
Blutcher
Koruyucu
tamir zaslavskt
Bassam
Todd Landstad MSFT
xanthom
Quang Lao
FinallyInSeattle
au55ie
Rouretain
jamesski
B123456H
ShiroAmada
dotcom23
insaned
Helan
Milena Salman
Graham Wright
Mikael Gosen
Only Title

WJ53418's Q&A profile

  • Windows Forms Icons not showing up on Treview

    I am using VS 2005 Beta and I have a Treeview UserControl that I built for a menu.  I added an imageList to the control and added some icons that I want to associate with the control.  When I build the solution and view the UserControl placed on a form in the designer,  I can see the icons. However, when I run the solution's executable I do not see the icons in the Treeview.  It is like the images are not getting placed into the output of the build or something.  I have managed to break this in two seperate places.  I cannot for the life of me figure out what I missing since this used to work. Anyone ran in ...Show All

  • Visual Studio 2008 (Pre-release) WCF ROUTER - Changing binding on the router error

    Hi, I hosted WCF router inside console (inside iis I am still experiencing some problems). It works fine when I am routing client message(wsHttpBinding) to service with wsHttpBinding. I tried to route message(wsHttpBinding) to netTcpBinding binding service, but I got error message: {"The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error."} Can someone help me with this Has anyone sample of routing message from http to tcp transport This is my routing table: < routes > < route > < xPath > /s12:Env ...Show All

  • Visual C# Can Generics solve problem of cross referencing?

    I have a solution which I encountered problem of cross referencing when I try to open forms(each other) located in two .DLL projects. Can I solve these kind of problem using .NET 2.0's generics If yes, how Thank a lot. No, generics can be used to create re-usable type safe code. I think you can't fox you referencing problem with it. To read more about generics, see this article. ...Show All

  • Windows Forms CanBeParentedTo question

    Hello, Using the IDesigner interface, I am able to find out if a control can be drop on another control. The problem is that this method does not seem to be called just after the new control is added to its parent control. If I move the child control after its creation, it behaves according the CanBeParentedTo method, i.e. a no drop cursor appears or not depending on where this control is moved on. How to do for disallowing this new control to be dropped on "wrong" parents at its creation at design time Thanks for your help, Monarghel Override the OnParentChanged() method. Initially the parent will be Nothin ...Show All

  • Smart Device Development SqlCeResultset and Bindingsource

    I have created an entry form by creating a resultset data source (Categories) from a sql mobile database(Northwind), setting the resulset to Details (data source view) and dragging the datasource the form. Now I can easily accomplish navigation using the bindingsource but I don't now how to accomplish the following. If the user wants to add a record, I call the AddNew method of the bindingsource. Now when the user enters a Category ID that already exists I need to set the Bindingsource the corresponding record. I can't use the Find method of the bindingsource since the sqlceresult apparently doesn't support this. I tried using the seek metho ...Show All

  • SQL Server SQL server upgrade hardware.

    I hope this is the proper forum to post a hardware/best pratice question. We currently have 2000 SQL soon to be 2005 on a HP DL 585 that has its own MSA30 drive shelf. It has its own 4 channel SCSI PCIX card with I think 512MB of cache. The MSA30 is filled with 14 U320 HD. We have a second MSA 30 comming. The DB size is 334GB. We have a set of tables that contain the data that is to be compiled and a set of tables that contain post compiled. The Precompiled data takes up most of the space. Here is my question. 1. Is it better to have a filegroups with multiple data files spread over both MSA30's or two very large files one on each d ...Show All

  • SQL Server ReportViewer with Authentication

    I'm new to Reporting Services but have built some reports and have implemented them.  I have used the report viewer which works great and has a great tool bar that users really like.  One problem, I can't figure out how to pass network credentials using the viewer. If I use the ReportingService class I can pass the credentials and everything is great except that I lose the nice tool bar. I want the best of both worlds without having th build my own toolbar.  This must have been done before but I can't seem to find any samples. So is there a way to pass credentials (Basic Authentication over SSL) while still using the nivce fea ...Show All

  • Visual Basic Can I create unbounded generic type in VB.NET?

    I would like to create an unbounded generic type in VB.NET. I know that in C# you can do e.g. GenericType<of Integer> and an unbounded version with GenericType<> but if I try to do GenericType() in VB.NET, I get an "Too Few Type arguments to 'GenericType'" error. So, is this possible or is this yet again something that is in C# but not in VB.NET The reason I'm trying to accomplish this is that I have a generic type but I don't know and care about the exact type of type argument at a certain point. I would just like to call a method FOO on the generic type instance and FOO doesn't take or return any parameters. ...Show All

  • .NET Development block connections

    I was wondering if there is a way to scan all the connections and block certain IP addys. Ive seen one program that does this in C#. Ive tried messing with socket and a tcplistner and i couldnt get it to work. I would love any advice u guys have to share. Are you looking for something like this   using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; namespace BlocIP { class Program { static void Main( string [] args) { //Here use your host ip IPEndPoint endPoint = new IPEndPoint ( IPAdd ...Show All

  • SQL Server Using connection manager connections inside a script component

    Within a data flow I have a script component that I want to perform some data calls from. I want to execute SQL commands to connections already defined in the package's connection manager. Is there a way to set my script's connection variable to the connection manager connection Or, can I use the connection manager connections directly from within the script I figured out my problem. Duh, there's a tab for this in the Script dialog. ...Show All

  • Visual FoxPro Trouble with update MS SQL table with an untypical column name.

    I have problem with updating views of SQL server. When I have name of column for e.x. "Name_en-us" VFP translated this to "Named_en_us".  Unfortunately when I try updating,  ODBC returns me an error. Do you have any idea how to tackle this problem You can use angled brackets on untypical column names (and/or column names which are a keyword, contaning a space etc). ie: DBSetProp('myView.name_en_us', 'Field', 'UpdateName', 'dbo.myTable.[name_en-us]') If you're not sure what to use for myView and dbo.myTable run: do home()+'tools\gendbc\gendbc' and create a programmatic version of your dbc. In that ...Show All

  • SQL Server Web Synchronisation Throuth SSL

    hi, i have done Web Synchronisation Using RMO , where i have an remote server at a remote place, where the Virtual Directory is Configured With SSL, for testing purpose if i access from the Client Computer entering http://72.17.246.214/SyncAbita/replisapi.dll diag " in the address of IE giving an errormessage "Unable to Reach Remote Host", if i remove SSL on the Server , i am able to access "SQL Websync diagnostic information" Page from the Client Machine, is it not possible to get perform Web Synchronisation With SSL, then i have inStalled 7 days Trial Version SSL on the Sever. Can any body help me out on thi ...Show All

  • .NET Development Removing a Relationship in a Microsoft Access Database

    I am a C# developer, using a Microsoft Access Database for data storage. How can I remove a relationship between two tables from within my C# program You first need to determine where the relationship is in your code and what it's called. Then you can delete it like this: DataSet1 ds = new DataSet1 (); ds.Relations.RemoveAt(0); ... or ... ds.Relations.Remove( this .myDataRelation); I'm assuming you had the designer create a DataSet for you with all of the related tables, constraints, relationships and so forth Of so, finding the relation is easy: open up the DataSet in the IDE and fi ...Show All

  • Windows Forms ClickOnce file names for security list

    I’m not able to run ClickOnce applications within my corporate environment because there is an executable policy list that prevents executables (and scripts) from running unless the names are in the approved policy list. I don’t know what names should be in this list for a ClickOnce application My application runs fine via ClickOnce on a client workstation with this policy turned off. Also, my application runs fine with the policy turned on without ClickOnce (if I manually copy my files to the client workstation). So it’s definitely ClickOnce related. Sorry this might be considered a repost, but from my previou ...Show All

  • Visual Studio Problems compiling C# project from command line after installing beta 2

    Previously I have been able to compile a c# project from the command line, using statements like the following or similar: devenv <solution> /build <build> /project <project.csproj> However at beta 2 this has stopped working.  Attempting to make such a call produces the message The application for project 'MyProj.csproj' is not installed. Make sure the application for the project type (.csproj) is installed. This is odd.  c# is definitely installed and I can go into the IDE and compile the project.  However at the command line it appears unable to find the c# compiler. Is this another installation fault ...Show All

©2008 Software Development Network