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

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

ChrisMoje

Member List

Tryin2Bgood
lympanda
mcrisf
whosoftk
codeberg
Jive Dadson
RayCan
Quilnux
Lee Eden
GilMoses
Paps
PremZ
Nanja Raje Urs
shax
robertlamour
Ryan_Willardryan
Sekar00
NehpetsZero1
Coleby
MukilanP
Only Title

ChrisMoje's Q&A profile

  • Visual Studio 2008 (Pre-release) Example accessing controls

    Does anyone have any pointers on accessing form controls with LINQ In the video with Anders he talks about doing just that but what is the best way of doing it Lets say I can logically group my controls (with controls in multiple groups). How would you differentiate them - with tags Could someone post a sample that accesses controls Thanks! I'm not sure if this is what you are refering to, but I threw together a quick sample that might help. The below example queries the form's controls collection and only returns the textboxes leveraging the .OfType query operator. On additional consideration to note, you need to use the Cast extension method to convert the ControlCollection (me.controls) in ...Show All

  • Visual Studio 2008 (Pre-release) 3D Scatter Graph in WPF - Ideas?

    Hey folks, We're building a 3D scatter graph control and are having performance issues when adding lots of points (3000+). I don't suspect it is a WPF problem per say but rather, we are not very efficient in the manner which we are doing the graph. In short, our app adds 3D cubes into the viewport at specific coordinates. // 1. Make the 3D object (mesh and material) GeometryModel3D cube = new GeometryModel3D (( MeshGeometry3D )Resources[ "ZPlane" ], ( Material )Resources[ "SteelBlue" ]); // 2. Define how the 3D object will be positioned in space ModelVisual3D model = new ModelVisual3D (); model.Content = cube; Transform3DGroup myTg = new Transform3DGroup (); myTg.Children.Add(( Tran ...Show All

  • .NET Development MSXML2 vs .NET

    I've been having a little bit of succes employing my past knowledge of MSXML2 to create and send requests to an Axis based webservices. But clearly there must be a .NET way to achieve the same result. Currently I read request from a file sub the proper fields and parse the result with MSXML2.DOMDocument. This seems like a pain considering that in some point in time I need to select nodes and find values in these responses. What I have in MSXML2 (and works) is found below. How do I get this done in the .NET FW static public string sendRequest( string message ) { output.WriteLine( string.Format( @"{0:yyyy\/MM\/dd HH\:mm\:ss.ff (zz)} > {1}", DateTime.Now, message ) ); // // create request // MSXML2.XMLHTTPClass http; ...Show All

  • SQL Server Report Builder and NULL values

    Hi, I am trying to create a report with Report Builder, using a simple data model residing on SQL2005 reporting server. The problem that literally drives me crazy is that I can't find any way to handle NULL values in my report. Say, a table has 3 numeric columns, and I need to create a formula to make a sum of those 3 columns. This would be an ordinary sum for the same entity, not an aggregate. So I create a new formula with following body: Field1 + Field2 + Field3 The problem is, each one of the 3 columns can have NULL values, and if any column actually is NULL, I end up with empty sum value, instead of having sum of those columns that do have values. What I need is one of the following: - a way to check for NULL values ...Show All

  • SQL Server Report viewer

    Can anyone help me in providing Report Viewer with Network Credentials (web service ) in SQL Server 2000 Reporting Servcies ,.NET Framework 1.1 , VS2003 ...Show All

  • Software Development for Windows Vista Power icon problem

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! Mike-- Do you see a battery icon in the system tray Even if you have multiple batteries, you will only see a single icon in the ...Show All

  • Visual Studio Stop VS from showing last used files when opening a solution.

    Hello everyone! When I start Visual Studio by double-clicking on a solution file it always opens up the files that I had open when I last closed the solution. How can I stop Visual Studio from doing this I don't want any files to be opened so I can select which one I want in the solution explorer. Thanks in advance! Thats not what I was looking for. I don't mean the most recently used project list that shows up in the Startup page. I mean that if I've got MyClass.cs and MyForm.cs up when I close down Visual Studio, next time I open it up it opens those files up automaticly I want it to show nothing and let me choose which files I want to edit in the solution explorer. ...Show All

  • Visual Basic Windows Form Position on Dual monitor

    Hi There Im gonna need some help. I need for my application to remember the location of my main form on dual monitor but Im having some dificulties managing this on a dual monitor setup. I can easelly save and load location using My.Settings so thats not a problem. The problem is when I have to calculate the working area when using 2 monitors. On 1600x1200 if the taskbar is streached a Screen.GetWorkingArea(New Point(0, 0)) will return 3200x1200 which is expected but when not streaching the taskbar Screen.GetWorkingArea(New Point(0, 0)) returns 1600x1200 in effect if I close my app on monitor 2 my code will move it it the edge of screen one. How do you guy crack this problem handling form position on multi monitor systems I ...Show All

  • .NET Development Sending mails on a localhost IIS SMTP Server

    Hi, I wrote a code to send mail and I want to test on my IIS server. I tried to set up my IIS SMTP server then I used Outlook to check my email but I had an exception Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'localhost', Server: 'localhost', Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F is there any tutorial for setting up IIS and Outlook to send and receive mails on the localhost server I saw in many WebCasts doing it but they didnt show how to set up the servers. Thanks in advance. From the sounds of it you do not have a POP3 ...Show All

  • SQL Server SQLCMD outfile as tab delimited text file

    Hi, How can i create tab delimited text file output from SQLCMD Any help would be much appreciated. Thanks! Raju There isn't a great story around this... but I got it to work by doing the following: 1) Open Notepad 2) Paste this: sqlcmd -S (local) -E -s"<TAB>" -Q "select * from sys.dm_exec_query_stats" -o MyOutput.txt -h-1 -W 3) Highlight <TAB> , then hit the tab key 4) Save the file as MyBatch.bat 5) Run MyBatch.bat Let us know if this works or if you find a better way. Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Play Background Music Problem?

    Hi All, I want to play bg music with my game. How to set loop play with the music audio = new Audio("sound file"); audio.Play(); Best Regards, Try adding an Audio.Ending (or Audio.Stopping) event handler. Audio.Ending should get fired when the audio stream is about to end. Audio.Stopping should get fired just before the audio stream stops playing. ...Show All

  • Visual C++ Best approach for IPC...? Confusion about what to use...

    Dear all I have been thinking the last few days of a best way to achieve this task: I have two pieces of software. They are both independent application and are final products.(i cant modify the soure).But they both provide an API listing methods that i might want to use to extend some functionality. What i would like to do is as follows: If i am in PROGRAM A and i click the mouse i would like to transfer the mouse click to PROGRAM B.Or if i drag the mouse in PROGRAM A i would like to do the same event in PROGRAM B and vice versa. The API specifies how to do the clicks and drags in both applications but the problem is how to initiate those functions...... I was doing some work and i can identify the window handles and thought that i can s ...Show All

  • Community Chat JimmyWidgets

    --- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk  . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS)   P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All

  • Visual Studio Team System My FXCop isn't working anymore

    Hello, I've downloaded FxCop, installed the Framework 2.0 (I work with .Net 1.1) y everything works fine, untill while I was viewing the errors and warnings, the program hung up. I've tried to run it again and it leads me to the CLR Debugger. And quit working. I've installed again the program and .net 2.0 and the same situation happens. Any idea of what is happening Thanks! I find useful this tool and I would continue using it! Sebastian Unexplainably began to work again. First I tried to launch it but always showed up the Debugger (asking for CLR Debugger or VS Debugger). I unistalled FxCop, Repaired (with that option) the Fx2.0. Now appears to be all rigth. The version is: FxCop ...Show All

  • Software Development for Windows Vista XP Compatibility

    I recently started going to school for Game Design and we are learning C++ and using Visual Studio to do our program. Right now, we're only doing simple "Hello World" programs or some with a little bit of user input, but nothing fancy. They just run in the console. Well I'm the only one in the class that has Vista, we're suppose to use XP, but Vista's sweet. I was wondering if my simple apps will have any compatibility issues with running on XP. They're simple and dont use any of Vista's sweet features or anything, so they should be backwards compatible, right Thanks it depends what .NET Framework you are using to develop in. Currently it's .NET 2.0 but Vista will ship with .NET 3.0. If you ar ...Show All

©2008 Software Development Network