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

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

John7

Member List

MrDewMan
mattjb
Rakesh Rajan
okinseattle
Alexander D.
RSoh
dcmp - dave
ZeyadRajabi
Fregas
Tejas_v
Kamal Hassan
rroot01
JBG
RMatthe
HohnerMan20
Harinadh
cruelasix
rborders
mitchw
CSomercik
Only Title

John7's Q&A profile

  • .NET Development Error when compiling a class that uses web services in release mode

    Here's the case (simple scenario to make things short): I have a web service that has 2 dataSets defined in it, both of them contains dataTables with the same names (myDataSet contains myDT and myDataSet2 ontains another myDT). when I create a project the references this web service, I have no problem compiling it in debug mode, but when I compile it in release mode I get the following error: Error: The top XML element 'myDTDataTable' from namespace '' references distinct types ClassLibrary1.myWS.myDataSet.myDTDataTable and ClassLibrary1.myWS.myDataSet2.myDTDataTable. Use XML attributes to specify another XML name or namespace for the elemen ...Show All

  • .NET Development Could not find assembly version

    Hello, Before I start I should say I'm a .Net novice so bear with me here. And please be as basic as you can in your response :) I'm trying to run one of the sample VB.Net solutions that is provided with the latest SQL Server 2005 CTP. When I attempt to build it I get the following error: "Namespace or type specified in the project-level Imports 'System.Data' cannot be found. Make sure the namespace or type is defined and it doesn't contain other aliases" Also the following warnings: "Could not resolve this reference. Could not locate the assembly "System, Version=2.0.3600.0, Culture-neutral, PublicKeyToken=b77a5c561934e089". Check to make s ...Show All

  • .NET Development Assembly.Load to not throw a FileNotFoundException

    I'm trying to have Assembly.Load or LoadFrom not throw the FileNotFoundException if the assembly does not exist. Return a null maybe if possible. Using Path.FileExists is out of the question since the assembly can be in the GAC or even in HTTP (as part of a no touch deployment scenario) and I want the checking procedure to be as fast as possible. Any help is appreciated. Thanks, Kousay You can wrap your Assembly.Load call to a bindless try/catch block like this: try {  Assembly.Load("not_existing_assembly.dll"); } catch {}   Regards, -chris ...Show All

  • .NET Development Delay Signing??

    Hi all, I'm wondering why should we use Delay Signing. As far i understand,Signing an assembly is required to uniquely identify it in a PC.But when we delay sign it we cant able to place it in GAC,then what is the use of it Is that same of not signing an assembly at all during development time and sign it completely using public/private keys just before deployment Also,I read in some articles that the private key should be kept very secret.Why is that Thanks, Suresh.   sureshsundar007 wrote: I'm wondering why should we use Delay Signing. As far i understand,Signing an assembly is required ...Show All

  • SQL Server Why AS2005 has only Windows Authn unlike SS2005?

    Hi, I was wondering why AS2005 has only windows authentication, unlike SS2005 which has its own users and roles. What was the reasoning behind this Just trying to understand so I can explain to my peers\boss why we need to setup Windows domain users for our web-based app which has an OLAP front end. Thanks, JGP Here is some useful information about Analysis Services security. http://www.mosha.com/msolap/security.htm Hope that helps. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Windows Forms Unatended Install

    I have receive an application that i need to distribute to several computers, but I want a silent installation, and preserve all newer libraries. This is the information I have from the setup.exe file: File Version: 6.0.88.4 Description: Setup Bootstrap for Visual Basic Setup Toolkit When I run the setup.exe /silent it start installing the application but as soon a dll, is newer that the one the setup is installing it stop and ask you if you want to keep it, or no. Is there another command line parameter to avoid this Are there more command line parameters Thanks Luis Enrique Heredia This is a problem wi ...Show All

  • Visual C# C# 2.0 RTM compler incompatability with c# 1.1

    I have an existing application that declares a class that derives from System.Windows.Forms.Form and an interface. This compiled and worked correctly in 1.1 but an error is reported during in C# 2.0 "IRecitalMirageForm - type is not supported by the language" public class Form1 : System.Windows.Forms. Form , IRecitalMirageForm Is there any workaround for this behavior Barry, Thank you very much for sharing your issue. I am puzzled, not by the error you get but by it previously working! Please, if you have not already done so, file a bug in our product center with a repro also of the previous worki ...Show All

  • SQL Server Filter parameter based on prior parameter

    Hi guys, i have some report parameters that are dropdowns, and i would like to use whatever is selected in them to filter subsequent dropdowns. I know that the report designer automatically makes parameters dependant on each other, but that has been stripped out of the rdl, i need to replace it with more targeted filtering. So assuming that parameter A and parameter B get their values from a dataset, how can i filter parameter B's contents based on parameter A I am quite happy to tweak the rdl if that is what is required. Thanks, sluggy Hi Sluggy, Not sure if I've got the best answer - but I h ...Show All

  • Visual C++ Migration from VC 6.0 to VC 7.1

    I am porting from VC 6.0 to VC.NET 2003 and I am getting the following issue:- error C2143: syntax error : missing '}' before 'constant'. Plus any document or help on migration from VC 6.0 to VC 7.1 Best Regards, Just another try. So you include MSXML4 with an import. The ShObjIdl.h needs the DOm pointer definition. So using namespace MSXML2 will over this definition for the heaer file. Try to place: #import "msxml4.dll" using namespace MSXML2 ;  in front of the #include of ShObjIdl.h Or use #import with the no_namespace option. ...Show All

  • Windows Forms VS 2005 Winform designer Issue

    I am getting the following error whenever i tried to open forms in VS 2005 solution in design mode. I tried rebuilding the solution several times, but still the issue persists. I referred couple of messages in the forum and applied the resolution provided in those, but still the issue persists. I am stuck and not able to do any modification to the controls and their properties. Is there is any fix available for this issue One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take ...Show All

  • Visual C# How to use flash games

    hi,   im trying to develop an application in asp.net which ll integrate flash games. my problem is how to start say,i want to use multiplayer games which is in flash. i need to know what all things should be considered for that.should i manage  the states which is  to be maintained if so, how should i go for it It should work synchronously when two or more players logs into the same game. Say for eg. a tennis game is played by 2 players which is developed in flash.how i can i maintain the states Can i make Flash to maintain its state or should i manage by .net if .net is possible then please give me a start to do it. ...Show All

  • Visual Studio 2008 (Pre-release) Problem with FaultException<>

    I'm having a problem getting FaultException<> to actually return as a generic FaultException rather than the plain FaultException class. I set up a test service that can throw either a System.IO.FileNotFoundException or a System.Data.SqlClient.SqlException, with appropriate [FaultContract()] attributes on the operation. The problem is, when I throw a FaultException<FileNotFoundException> I get the correct generic exception at the client, and I can retrieve the actual exception from the Detail property. With FaultException<SqlException>, I don't get a generic exception at the client, I just get a System.ServiceModel.Fa ...Show All

  • .NET Development SqlDataReader & an SQL statement problem

    Original issue went unanswered (well, unsolved) Using returned value from SqlDataSource1 so I'm trying a different route. Instead of writing to Profile, I'm going with Sessions. Here's my issue and some code. The select command won’t let me conditional Where LoginId = the value of the login textbox and Where LoginPwd = value of the password text box. The query when tested does return 164 when I enter in a test user's username and Password into the Query Bulder's "Test Query" but when I put those values into the WHERE area in the Select, it says “no TESTUSERNAME column” “no TESTUSERPASSWORD” column. I have to use WHERE ...Show All

  • Visual Studio Team System VS2005 RTM Team Suite Setup Starts When Outlook Starts

    I have installed VS2005 Team Suite and the TFS Client Beta 3 Refresh. This system has never had any previous betas. Now when I launch outlook 7 times out of 10 Team Suite setup starts!  Any ideas why   How to fix it Thanks, Chris Did I post my question in the wrong place I have now uninstalled VSTS and all .NET 2.0 stuff.  This gets rid of the problem.  I then re-installed Team Suite and now the problem is back! ...Show All

  • Windows Forms Datagrid goes back to default parent view when dataset refreshes

    Hi, I have a datagrid with childrows. DataGrid is bound to a dataset. Whenever I refresh the dataset using DataAdater.Fill() the datagrid goes back to its default parent view. Sometimes if a user is looking at the child rows in the datagrid and if the dataset refreshes at the same time, the child view closes down and the datagrid goes back to parent view. Is there any way I can stop this from happening so that if a user is viewing child rows in the datagrid and if dataset refreshes then it should'nt go back to the default parent view of the datagrid Thanks Hi, I am facing the same problem. Did you ...Show All

©2008 Software Development Network