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

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

DDressel

Member List

R.D.
Troy Lundin
qt1h00
NetPochi
Ravel
polocar
fighter92
harvard_isaac
mterlecki
Jeroen Hauser
Lars-Erik Aabech
Pavan Contractor
Tom C.
KJBalaji
Bijivb
Dedy Susanto
andyfraser
Daniel Öberg
narasiman_jayachandran_2b5374
scott bates
Only Title

DDressel's Q&A profile

  • Visual Studio 2008 (Pre-release) Can SQLMetal Generate <DataContract> or <DataMember> tags?

    I'm using SQLMetal to generate code files for use with DLinq. It works great and saves a ton of time. However, I'd like to use DataContractSerializer to serialize my objects. Since the objects now require <DataContract> and <DataMember> tags, I will have to manually add the tags to the code file any time I regenerate it. Is there any chance that we'll see table level and field level configuration settings in SQL Server 2005 that translate into <DataContract> and <DataMember> tags, respectively, when SQLMetal runs Or is there a way to do this now Brian For now, you can also generate the code you want yourself, by letting SqlMetal just output the XML it uses internally.. ...Show All

  • Silverlight (formerly WPF/E) Creating controls without XAML?

    I assume this might be coming in a later release, but it seems like an unecessary restriction to be required to create controls using XAML (i.e. CreateFromXaml). A method that just takes a typename and a namespace might just be more natural for programming against: function Create(tagName[, namespaceUri]); The nameSpaceUri param is optional and defaults to XAML's v1 namespace when not specified. This way I don't have to think in XAML so much and can just think about creating my instance by type and go off an set the properties using JavaScript. Just thinking out loud, Drew Thanks for the feedback, Drew. We may be adding the functionality you describe in the future... we tackled "createFro ...Show All

  • .NET Development https "The page cannot be displayed"

    I have recently set up https on windows server 2003. http://localhost/ and http://www.url.com both will return a 403.4 error, which is suppoesd to happen. https://localhost/ will work correctly from the server but https://www.url.com will not work from any machine. It keeps showing up as "The page cannot be displayed". Port 443, the ssl port, is opened and not blocked by the firewall. Does anyone have any idea what else it could be Thank you This thread has a few links that might help: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1206724&SiteID=1 Otherwise the forums at http://forums.iis.net will be a better bet to answer this. Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Canvas KeyDown event

    I can't able to get the keyword events of the canvas.... Any help would be appreciated. Thanks in advance Cheers, G You need to have an element that can accept keyboard input within your Canvas for the KeyDown event to occur. I'm able to get the KeyDown event to fire by doing the following: private void CreateAndShowMainWindow() { Canvas myCanvas = new Canvas(); myCanvas.KeyDown += new System.Windows.Input.KeyEventHandler(myCanvas_KeyDown); TextBox myTextBox = new TextBox(); myTextBox.Width = 100; Canvas.SetTop(myTextBox, 300); Canvas.SetLeft(myTextBox, 25); myCanvas.Children.Add(myTextBox); } void myCanvas_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) { MessageBox.Show("keydown ...Show All

  • .NET Development c# serial port enumeration

    I need to enumerate the available serial ports. I'm using c#. Anyone know how cheers, gareth You can, just do what GetPortNames() does: enumerate the values in HKLM\Hardware\DeviceMap\SerialComm registry key. ...Show All

  • Smart Device Development CF 2.0 based app is using two MainMenu Control types.

    Hi all, I have this strange problem/issue that I have had bothering me for a while now. I have an application where the users browses through Forms to perform various bits of functionality, and then closes the form to return back to the previous form (the Form from which it was openned), and the Focus is right back with the Form that openned the closed Form (if you know what I mean :)). Now this all works fine in my application apart from in one place, where when the called Form is closed, the calling form (or my Application even) doesn't get focus back until the 2nd tap on the application with the pen. The Windows start button and Input control on the MainMenu are focused and can be activated from the first click on them, but not my appli ...Show All

  • SQL Server ** MAJOR PROBLEM ** with Dynamic images

    I am try to develop a report to render TIF documents I have stored on disk. The approach I am trying is to write a class library that with a method that take a file path argument to a TIF file and page frame number, and will return base64 encoded JPG binary data for the report to render. My RDL looks like: <Image Name="image2"> <Sizing>AutoSize</Sizing> <Left>2.125in</Left> <MIMEType>image/jpeg</MIMEType> <Top>2.625in</Top> <ZIndex>1</ZIndex> <Width>0.875in</Width> <Source>Database</Source> <Style /> <Height>0.75in</Height> <Value>=MyImageHandler.ReportImageHandler.GetBase64JPEG()</Value&g ...Show All

  • Visual Studio 2008 (Pre-release) Glass on non-rectangular windows

    So I got glass working using the code here , and I got non-rectangular windows working using AllowsTransparency. Now here's the challenge: can I make a non-transparent glass window Thanks in advance, Rei When AllowsTransparency is turned on, you can not use DwmExtendFrameIntoClientArea since there is no frame. However, you can try using DwmEnableBlurBehindWindow and see if that helps your scenario. ...Show All

  • Visual C# very strange System.Net.Sockets.SocketException

    What can be a possible cause When my program running on a notebook connects the server, it gets the System.Net.Sockets.SocketException. I try to ping the server by the domain name from the notebook. It's OK. So not related to domain name resolution or network stability problem. I try to telnet to the server from the notebook directly and issue some commands. It's OK also. So not related to any firewall. It just happens in a few notebooks in the same network.... what can be the possible cause The following is the code. if(ConnectSocketThread==null || !ConnectSocketThread.IsAlive) { ConnectSocketThread = new Thread( new ThreadStart(this.ConnectSocketThreadFunction) ); ConnectSocketThread.Name = "ConnectSoc ...Show All

  • Visual Basic How to link buttons and textboxes, to do the same thing?

    I have some tab's, and need to link some buttons and textboxes at different tab's. Is there a way to do it, other then doing it by code What do you mean by "link" DO you want something in common to happen when you click a button or go into a textbox Yes you can do those things but it must be done in code ...Show All

  • SQL Server Getting Started - What do I need to use SSIS?

    OK. I am new to SSIS. I do not have control over the servers, so I have to provide a list of what features we need installed and such. In order to use SSIS to import data files (from multiple flat file sources), what do I need installed I have SQL Server 2005 installed on a server. But the Business Intelligence Development Studio isn't present. Do I need to install that on the server How about any services Also, can I/Should I install Business Intelligence Development Studio on my local development machine What about licensing requirements for it Thank you for your help in this matter. Usually I have full control over the server and I can just poke through the install to get what I need. Wow -- this is a big question, a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RenderState.ColorWriteChannels

    Hi all. First of all - many many thanks to the XNA team for really delivering the goods! Hope you're having a bit of a chillout following today's release : ) Just got my Windows game running on 360 with almost no issues, which is fantastic. Here's a gotcha though. On windows : RenderState.ColorWriteChannels = ColorWriteChannels.All; RenderState.ColorWriteChannels = ColorWriteChannels.None; ...writes to all channels, and no channels, respectively. On 360, I have to swap these around to get the same effect. Is this a bug Or am I missing something Many thanks guys... ...Show All

  • Software Development for Windows Vista Form Creation?

    Is there a way (tool, application) for building highly formatted forms in XPS in a manner that they can be: * Lauched in a viewer * Filled out by the user * Have data retained within (and ultimatly stored in SQL Server) I'm looking for an alternative to PDF and Adobe Livecycle. ...Show All

  • SQL Server WITH CHECK OPTION and INSTEAD OF triggers

    I know that INSTEAD OF triggers are not allowed on updatable views that use WITH CHECK OPTION, but this is different. WITH CHECK OPTION has no effect on a view used to update a table with INSTEAD OF triggers. Can you create an updatable view that uses WITH CHECK OPTION on a table that has INSTEAD OF triggers The following code demonstrates the problem. Comment out the create trigger statement to see the behavior change. create table test (test int not null) GO create view test_view as select * from test where test < 0 with check option GO /**/ create trigger test_insert on test instead of insert as insert into test select * from inserted GO insert into test values (1) GO insert into test_view values (2) GO select ...Show All

  • Software Development for Windows Vista Initializing local services from App.Config

    I've seen plenty of examples on how to load core services (persistence, tracking, etc.) using entries in the App.Config. Is it also possible to load your own local services using App.Config entries If so, is there an example of how to do this somewhere Thanks. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 Great, that looks like what I needed. I just upgraded to the June CTP so I'll give that a try. Thank you both for your help. Bruce ...Show All

©2008 Software Development Network