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

Software Development Network >> Canada Goose's Q&A profile

Canada Goose

Member List

Stuman99
AshishGupta
bhalchandra.kunte
Phil Rogers
rdeal3
CharlieRussell
Adrian Jose
FilipB
White_Horse
RussP
ChrisMoje
Andre_SA
AlexUC
Gazcelt
Kevinmac
Sweeps78
Mirza Ashraf
kenlefeb
Vibhu Bansal
thegodfather9210
Only Title

Canada Goose's Q&A profile

  • Visual C# Assigning By Reference

    Quick question, in this code fragment From my own experiance; though I'm now one for 'rtfm', I have found that Connection.Details = Conn.Details passes a copy whereas Connection = Conn passes a reference. I cannot explain why and it has lead me to start reading books for begineers again. Hell! I've always picked up new tricks, in every language, whenever I go back to basics anyway. ...Show All

  • Visual Studio 2008 (Pre-release) consideration about XamlView

    Does anyone have tried the XamlView at http://www.codeplex.com/XamlView I have tried to use this tool to view my resource dll. The xaml content can be view almost as its original. Since I am developing a smartclient application, the dlls will be deployed to client machines. So how to avoid the design to be viewed directly Any suggestions Since Xaml files is treated as manifest resources files in your assembly, AFAIK, code can be obfuscated, but resources don't. so my idea is to customize the WPF's build engine to include your dedicated building task, the dedicated task should be responsible for encrypting the generated BAML stream using whatever encryption algorithms makes sense here(or you can use other methods here to & ...Show All

  • .NET Development Regex behavior

    I have the following regular expression: <%( <one>.+)%>(<%( <two>.+)%>) I apply it to the following: “<%this is one%><%this is two%>” After running the regex, one contains “this is one%><%this is two” and two contains nothing. Without the “ ” at the end, one contains “this is one” and two contains “this is two”. If I use the “ ” at the end and run the match from right to left one contains “this is one” and two contains “this is two”. This is what I expect. I do not understand why using “ ” at the end causes the match to skip the first “%>” and go to the ending “%>”, especially if it works without the “ ” and with a right ...Show All

  • .NET Development Error on Bitmap.Save()

    Hi, I'm using the JPEG Encoder with a Bitmap.Save()-call. I got the following code from the german MSDN: ImageCodecInfo ici = null; ImageCodecInfo[] iCodecs = ImageCodecInfo.GetImageEncoders(); foreach (ImageCodecInfo ic in iCodecs) { if (ic.MimeType == "image/jpeg") { ici = ic; break; } } EncoderParameters ep = new EncoderParameters(1); ep.Param[0] = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, (int)90); Result.Save(CurrentTargetFile(), ici, ep); After the execution of the last code line I get the following exception: "System.ArgumentException" Message="Invalid Parameter." Source="System.Drawing" StackTrace: bei System.Drawing.Image.Save( ...Show All

  • Visual Basic How do i use VBscript to open a file within a outlook form.

    i have designed 2 outlook forms and i would like to be able to open one from a command button on the other does anyone know what code i will have to use as i have hunted all over and am unable to find what code to use If they are outlook forms then its likely you are using VBA (visual basic for applications) to implement this rather than VBScript. These forums are intended for VB.Net development and your description, so whether you using VBA which is probably likely or VB Script. These are not the same as VB.Net and therefore off topic for these forums. You may find more assistance in following which specifically deals with VBA / MS Office development. The VBA specific forum http://forums.mi ...Show All

  • Windows Forms Custom Business Objects & Column Names

    Hello, I could use some assistance with what I had thought would be a simple problem... I have several classes, however let us say that we are going to bind to a (simple for the purpose of the question) class defined as: public class Person { private string _firstName; public string FirstName { get { return _firstName; } set {_firstName = value; } } Public Person() { } } When binding to such data, the column names are derived by the name of the public properties defined on the class. In this case, I would end up with a column called 'FirstName'. How can I intercept and provide a different name when the class is being bound In this example, I simply would want the column name to be 'First Name'... but I hope you can ...Show All

  • Visual Basic Auto-typer

    Hi, I am new at Visual Basics and trying to learn more. I have looked every where for some code to make my program type characters as if the keeyboard was doing the typeing. You type in a string in a text box then i want it to contunue to type that string over and over again in say 2-5 second intervals. I have tried using SendKeys but that doesnt work. Please help me. I amusing Visual Basics 2006 Expesss Edition. E-mail me( snow_ball_25@hotmail.com ) or post answers please. Thanks, Josh Thanks, It's ok that it types it all at once. Thanks alot. I feel so dumb that it's that simple. lol. Thanks again, Josh ...Show All

  • SQL Server Cannot find SMO namespace in Visual C# 2005

    I know that this may sound like a stupid question... but I install visual C# express and SQL server express, and I still couldn't access the SMO namespace. When I install SQL express I went in the details to make sure that I installed everything in the package. However when I try to use SMO in C#, it just couldn't find the Microsoft.SqlServer.Management namespace that SMO is under. Any help is appreciated!! Thanks I must be really stupid... didn't know you have to add SqlServer.smo under project -> add reference before you can use the smo namespace... Sorry guys... can just ignore my last post ...Show All

  • Visual Studio Express Editions delete rows

    what is the code to delete a row from a database, the binding navegater has the delete function, but when i select a record to delete and press the delete box on the navegater i get an error telling me a must have a delelet command. what does theat look like, my database is working fine until i want to delete one. thanks Public Class seeall Dim see2 As New seeall2 this sub shows you all the records in your dataset, you can see them by clicking the arrow back n forth, if i want to delete one( which i do) then the one that is being viewed is the one selected for deletion. or do i just empty the box and make it nul Private Sub seeall_Load( ByVal sender As System.Objec ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What constitutes "Commercial"?

    What if I want to develop an application that I do not intend to distribute and sell, but only use internally as an integral part of some business model, such as in a CyberCafe / LAN party. If I'm a business consultant who develops a Team-Building game for corporate events that are based on my Team-Building Intellectual Property, is it considered "Commercial Use" if I'm using the Xbox 360 as a turnkey platform to run this on For example, perhaps I break up employees into small groups of four to team up and participate in a game and I need to use 10 Xboxes simultaneously for a group of 40 people. You can see the advantage of using 360s instead of PCs for the convenience of setup here, especially for a travelling roadshow. So ...Show All

  • Software Development for Windows Vista How to creat two or more applicatioins on one VISTA desktop

    In Windows XP system, end-user is very easy excute tow or more applications on one XP desktop, but why we can not creat two or more applicatioins on one VISTA desktop Does anybody know how to solve this issue I assume this is an application that supports some form of single instancing. In other words, if you start it twice from the Start menu, only one instance remains (the second instance notices the first one and terminates itself). On XP, you used right-click->runas... to workaround the single instancing. Did you use the same username\password as was used at logon I guess not. And now, on Vista, right-click->run as administrator does *not* work as a workaround. You never get to enter a ...Show All

  • SQL Server XML to Cols

    I have a XML column in my source DB. Is there any way possible using SSIS to convert the XML to ordinaty cols (varchar) in the destination db. I am using Sql 2k5. thanks in advance There is a possibility to do so if you don't have external schema binded to your xml 1) Create a SSIS dataflow 2) Use OLEDBSrc to connect to your source DB. You xml column will be pulled out as a "ntext" into SSIS pipeline. 3) Add a DataConversion transform after the OLEDBSrc, to convert that column to varchar (give it a code page or use the default, and specify a length) 4) Lead DataConversion to a destination downstream. HTH wenyang ...Show All

  • SQL Server ---PULL replication with SQL Server Express, it is possible whether or not?---

    Hello! Question of such plan, to documentation to Microsoft SQL Server 2005 Express Edition it is written, that the given product supports only PUSH replication, however in his{its} structure there is an agent replmerg.exe which description says: replication merge. Synchronization means, that the agent of merge transfers changes from the subscriber to the publisher, and then transfers changes from the publisher on the subscriber … And so the question if this agent is present at this edition, whether that is possible to adjust manually his{its} call, or through Windows the agent, for realization PULL replication or it is impossible and for what reasons Thanks. Ok, thanks!!! You have v ...Show All

  • Internet Explorer Development invoking download dialog box upon clicking on a link

    Hi, I am preparing one html file which contains link to trx files (test results file generated by VSTT). These trx files are present on a local share. When I click on the link I want either to open the file in the devenv or pop up the dialog box to download the file. Currently file is getting opened in IE only as a XML file which I don't want. I am more interested in first option: "That is by default file gets opened in devenv after user clicked on the link." How can I do it -Aaryan Dave, I am using VSTT to tun some tests. It gives me one Test Result File (extension .trx) as output. I am preparing a html report which contain various piece of information useful for testers. I am al ...Show All

  • Visual Studio 2008 (Pre-release) Why doesn't CreateMessage throw an exception for un-serializable body contents? (POX messaging)

    I just posted a blog entry here where I detail a situation in which I can legitimately and without exception make a call to CreateMessage where it will be physically impossible to serialize the contents upon transmission to the client. Basically it goes like this: I accidentally left off the [DataContract] attribute on a class and then I created a message that contained a list of that class (e.g. List<MyClass>). The call to CreateMessage did _not_ throw an exception, and when I attempted to access the service URL via GET (which should just dump me the contents of my list), I got the funky "you have no internet connection" message from IE. When I ran my little unit tester to try and extract the body from the response m ...Show All

©2008 Software Development Network