.NETicated!'s Q&A profile
Windows Forms A simple number from a String, how?
If I have numbers in String and wan't to perform some arithmetics on them what is the best way to do For example if the string is "11" how do I convert that to a simple int that I can do arithmetics with I could convert it to class object of Integer but then I couldn't do any arithmetics. Dim str as String = "11" Dim int as Integer = Integer.Parse(str) Tony ...Show All
Windows Live Developer Forums Send IM from Flash in JS
Is there any way to launch the MSN IM send IM window (much like EnterIM is described to do in the API) without having an entire application I'm just trying to open an IM window and add a default message. This is possible with AOL IM by aim:goim message= is there something similar with the MSN API Thanks, Erin Not really; you can open a conversation with a contact using msnim:chat contact=whatever@hotmail.com but you can't specify the actual message. ...Show All
Visual Studio Default Excludes a la nAnt
Hi, Is there a way for me to specify default excludes ( or define it for multiple ItemGroups ) This is so that files like .svn for subversion, _vti* etc are ignored during processing of lists (especially copy ). Alternatively is it possible for me to give a set of wild cards in the exclude attribute of Item Group Thanks, Hari The only recognized attribute on ItemGroup is Condition so you can't "exclude" at the ItemGroup level. So is the idea that you don't want them to appear at all in your item lists -or- you just don't want to perform certain operations on those files Keep in mind that it is pr ...Show All
.NET Development Named Pipes in C#
I need to pass data from one process to another. In the "Visual C++ Version 6" world I would have used a global named pipe for this task. I'm developing in C# and would like to know what construct there is for either creating named pipes or for a "new" technique to pass data from one process to the other. One other specific is that the process producing the information, i.e., filling the pipe, is a service created using C#. The service, when it receives a command needs to reply with a small amount of data to the process that sent the command to the service. I was planning to do this via a pipe. The ...Show All
Visual Studio 2008 (Pre-release) ANN: 2D games creation tutorials
Our tutorials serie at: http://www.dmu.com/avalon3D is about the creation of 3D games using Avalon. But, like there are many 2D games creator's "aficcionados" we wrote 3 lessons/demos about. At: http://www.dmu.com/avalon3D/a3d26.html http://www.dmu.com/avalon3D/a3d27.html http://www.dmu.com/avalon3D/a3d28.html All the source codes, images etc available. And executables. We are sugesting the "Zelda paradigma" but one of the lessons is about how to shoot an UFO. Like ever: all free, no ads, no registration required. Only for fun... Better to read all the other lessons to understand these. ...Show All
.NET Development StreamReader.ReadLine() problem
i have been able to send AT commands to my gsm modem and got their response using streams.. im accessing serial communication port to connect to my gsm modem.. my problem now is when i issue the AT+CMGS="<destination number>" command my app hangs and the modem does not respond the '>' character.. it is as if it does not end reading the stream( ).. i dont know what's the problem with this one. i run it before in .NET 2003 and it works fine. when i upgraded to .NET 2005 beta, thats the time when i started encountering this problem.. added to that.. i think the problem also is with the response of AT+CMGS="<destination number> ...Show All
Smart Device Development WIFI signal strength detection
Good day, Is there any way in which I can see what the signal strength is by using my vb smart device application I have found examples for normal VB.NET application but nothing for smart devices. My problem is that when I try and synchronise my SQL Server CE database on my mobile device and my SQL Server 2000 on the server over WIFI and there is no convereage it takes for ever, about 25 seconds, before realising it can do nothing and in stead just write to the SQL Server CE database and synchronise another time. Please can some one help me. Thank you very much for your help, that was exactly what I was look ...Show All
Windows Forms What is the KeyCode for the num pad Delete?
Hi, I am trying to support a calculator type function. When num lock is on, the DEL key which gives the "." value .. I am trying to find that key in Keys list. I found all the numpad values but that one I can't find. Please assist. Thanks in advance. ...Show All
Visual Studio 2008 (Pre-release) Canvas, Rectangles, ClipToBounds slowness
We are thinking about starting a new moderately complex graphical application in WPF. But before committing to the platform, we are testing features to see if WPF can handle it. >:) One test application so far has a Canvas with ~800 Rectangles (added with C# using “canvas.Children.Add(..)”. These rectangles are movable by dragging them… implemented with Canvas.SetLeft(rect, newLeft) and Canvas.SetTop(..) from the MouseMove handler. I need some tips on how to speed this up. Currently dragging a single rectangle around causes 100% utilization with 20 FPS on a Xeon 2.8GHz… even turning down to 50 rectangles seems ...Show All
Visual Studio Express Editions Visual Studio 2005 = very very very unstable !!!
Out of frustration, I'd like to warn you all that the release of Visual Studio 2005 is horribly unstable !! Please beware before upgrading. We've upgraded and it wasn't worth it. I regret it ! Please elaborate - what exactly do you mean by "horribly unstable" What were you trying to do, and what was the result Have you filed a bug Steve Hoag Visual Basic Express ...Show All
Windows Forms BEGINNER: What do I use for code for the Cut, Copy, Paste functions?
So I am new to programming, but we all have to start out somewhere right... But anyway, I am trying to create a simple application in the new VS 2005 with a menu bar at the top and inserted the standard items. I am wondering what code do I use to make the Edit commands (Cut, Copy, Paste, etc.) So this is where I am so far: Private Sub CutToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CutToolStripMenuItem.Click End Sub You need to tell us what it is that you want to cut/copy/paste. If you have a simple text editor w ...Show All
SQL Server How to drop data value filed in Report Builder "Chart"
Report Builder (SQL 2005 September CTP) does not allow me to drop a field into the "Drag and Drop Data Value" box. Are there any restrictions on the data type for the value series BTW, I love the tool! ...Show All
Visual Studio Team System Retrieving the Team Project name in MSProject
How can I get the Team project name programmatically "after I had chosen the Team Project" Thank you! Unfortunately, I don't think there is a way to do this in MS Project. There is no public API for the Office Integration components. The MS Project addin doesn't put any values in any fields that would uniquely identify the server or project. ...Show All
Visual Basic "key already associated..." error message
I am getting the error message "key is already associated with an element of the collection" when the line with the arrow is executed. Not exactly sure why Set cLogin = New Collection Open "\\hr-17\passwd\password.log" For Input As #1 Do While Not EOF(1) Input #1, strLogin strLoginSplit = Split(strLogin, "+") 'We only need the first two variables from the array. => cLogin.Add strLoginSplit(1), strLoginSplit( ...Show All
Visual Basic Printing :-(
Can anyone point me to a simple tutorial on how to print formatted text e.g. the contents of a rich text box including bold and different font sizes etc. TIA Julian http://www.developerfusion.co.uk/show/244/ http://www.dotnet4all.com/Dot-Net-Books/2004/08/how-to-print-from-rich-text-box.html ...Show All
