TimStspry's Q&A profile
Windows Forms Question about RichTextBox and pictures
Hello everybody I'm now working on a new project, and i have a problem. I need to position a picture on a RichTextBox Component but when i try to position the picture, i can only place it relativly to something else, like in WordPad. I want to solve it like Microsoft did on their Word. they did something that called Word Warp which enables the user to move the picture to any place on the document (absolutly). Somebody have any idea Thanks, Liran. ...Show All
Visual Studio Multiple loggers on the command line
I'm trying to log to both the standard FileLogger and the Kobush XML logger. Now the documentation states: /logger: logger Specifies the logger to use to log events from MSBuild. To specify multiple loggers, specify each logger separately. For some reason I cannot seem to specify multiple loggers. If I use this command line: msbuild.exe /t:Build /property:Configuration=Debug /property:BuildShell=PSH /l:FileLogger,Microsoft.Build. Engine;logfile=..\Log\BuildTemp.log /l:Kobush.Build.Logging.XmlLogger,loggers\Kobush.Build.dll;logfile=..\log\buildresult.xml Then I get one log file called BuildResult.xml. It is not the XML output from the Kobush logger, but the standard output from the FileLogger. Has s ...Show All
.NET Development AccessViolationException when issuing BeginConnect
I've created some code which runs a Socket asynchronously. This code has been fine until recently, where now, any time the client socket is either ungracefully exit, or if the connection attempt fails, the code fails with an unhandled AccessViolationException producing the following: System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Source="System" StackTrace: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallbac ...Show All
Visual Studio Express Editions Changing Application Form Skin
I am using Visual Basic 2005 Express Edition. I just wanna know if there is a way that I can change my form skin application. I am using Microsoft Windows XP operating system with the "LUNA" theme. In my application I want to use the "ROYALE" theme which installed on my PC. Is there any way that I can use the "ROYALE" theme without affecting my OS Can you please suggest me an idea about this. Since we can only use the "ROYALE" theme if we change the OS theme into "ROYALE", how can I apply theme into my application without changing the OS theme Thanks;) You can't, not directly. You have several options: 1. Let the user do what they want ...Show All
.NET Development Data Access Strategy
I need a better understand for the best practices for .NET 2.0 What would be the best solution for a WinForms app that has several windows that need to access the same data result - also each window periodically might need to update the data (which will need to be flushed to DB). Should I made the DataSet a static member of a "datagateway" class. Initially populate the Dataset in the static constructor and provide a Flush method if the dataset is changed. Make a static method that constructs and then returns a dataset. Not use any static methods but a DataGateway instance from each Winform. I am always cautions of making a lot of static classes/methods esp when potentially complicated and large. Any recommendati ...Show All
.NET Development Data connection failed to open
Hello, I'm attempting to install a Worker Service responsible for performing regular operations and communicating back and forth to a SQL Server 2005 database on a remote machine. I have a thin client that allows the user to make configurations, and although the first connection can take 20 seconds or so, the client succeeds at communicating with the database. The worker service, however, fails to do so every time. On startup, I attempt to communicate with the server three times: 1) send the current time as the service's boot time, 2) send the current time as the service's "heartbeat", and 3) get outstanding items to process. The first two return the following error in the Application service log: Data connection failed ...Show All
SQL Server SSRS 2005 - SOS - Need top xxx rank as paramenters - SOS
Hey, I have a requirement to print out sales report which has interactive sort on the Net Sales Column (which is all taken care of)...now, I need to include a new column which displays the ranks dynamically as the user chooses the interactive sort to be Ascending or Descending. The Rank Column will be required to display the ranks as serial numbers and takes into consideration the TOTALS on the summary row and not the detail lines. When I hit RowNumber(Nothing) , I get the row numbered on the details line and not the Summary line (I have enabled drill down as you can tell by now). I presume I cannot use the RANK() OVER function here in the query, because, the ranks cannot be assigned here as the query pulls up all the details a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XML, XNA & Dll's Oh My...
I already have an MDX 1.1 engine partially started and will be immediately porting it to XNA asap (aka starting Aug 30th :-) ). The main portion of the system I am eager to keep is my custom GUI. I use XML extensively in my GUI, and application. Will there be any native built in XML support in XNA by default Or will I have to temporarily patch in the System.XML (Windows Only) assembly into my project until I can build my own XML parser I love using XML for storing various information, and would love to see a way of reading and writing XML with the XNA framework. Also my project is built with modular design in mind. Portions of the project are broken in various dll's. Does (Will) the XNA Framework for the 360 support Dll's or an .NET li ...Show All
Visual Studio Express Editions Generation of API documentation
I wonder does visual studio 2005 provide any extensive features to generate API documentation from the classes we design and coded so it makes it easier for us to stream line communcation among multiple developers. kindly let me know if there is such a tool or feature available. if not, do tell me of any other viable solutions out there that could automate generation of API. Thanks a million Check out the XML documentation feature ... ...Show All
.NET Development System.Net.Socket disconnect problems
Hi, I've done some searching but haven't managed to find an answer - hopefully this is the correct place to post. A group of us are writing an internet chat protocol with associated server and client. The server is written in VC++, and goes through a specific chain of events if the OnClose() function of one of the CAsyncSockets is called. For one of the clients in development (realbasic on mac OS X) this works fine - they close the connection at their end, and the server picks it up. However, for the VB.NET version of the client we are having problems. No matter how we disconnect, the server doesn't realise that the client has gone. I can only assume this is a .NET related issue as the other client does work. Has anyone got ...Show All
Visual Studio Express Editions help..help not working.
I downloaded VC++ express and installed and ive done the whole windows application thing and now i can use the template for a windows app (with forms :D) but the problem is that ive learned my knowledge of c++ for console applications, so i do not really know any of the 'new' coding i need to for example make a button do something or to display text in a label or whatever (cause i know now cout and cin is useless). The poblem is that when i want to use the help for this i can search for some stuff but when i click on links on the help thing it opens this window that says there are problemss/errors - i tried the solutions like setting the help to first local then online etc. I think it might be documentation not installed beca ...Show All
Windows Search Technologies No Outlook in WDS
WDS 2.6.6, Outlook 2003 SP2, XP Tablet SP2, SBS2003 domain This station has 'E-mail and all hard disks' and 'E-mail and My Documents' greyed out, only shows Outlook Express under Custom Folders and e-mail locations, not Outlook. Other stations on the network work fine. I've uninstalled and reinstalled Office, Outlook, WDS, but it still does not recognize that Outlook is installed (Otlook does show as the default email under Internet options and on the start menu). Before I wipe the machine and reinstall the OS/Office/WDS, is there anything else to try Yes. Installed Office, reboot, open Outlook, install WDS, reboot, open Outlook, examine WDS options. It stays stuck with Outlook Express. ...Show All
Visual Studio Team System How do I list the changes between one label and another?
I applied a label to the root folder of my Team Project ($\OSPACS) to mark the release v1.0 to my customer. A few months later I applied a further label to $\OSPACS to mark release v1.1. How can I obtain a list of the files that have changed between the two versions It seems that the only way I can do this is to copy v1.1 into my workspace ('Get a Specific Version' ), select each file in the Solution in turn and then compare it with the version in the repository that has been labeled v1.0; a very long and boring process! Does anyone know of any tool that can make this sort of task easier Is there a better way of doing this The old Visual Diff tool allowed me to list the changes between two directories and then perform a diff on a se ...Show All
Gadgets Want to start a beta/debug group?
Hello, Would anyone be interested in starting a group to help each other with beta testing I have a bunch of users who help me with new versions, but I don't like to get too technical with them. I'd love to have access to other developers who can give me debug ouput and insight. Anyone interested Ty Hey, I'd be very interested in this, i have a few people on my contact list who help me out but they don't have much technical knowledge so it can be difficult working out why something doesn't work for them. If you add me on msn messenger: ljames28 [a t] hotmail .com i'd be happy to help out. Law ...Show All
Visual Studio Team Edition for Software Developers and SourceSafe
I have Team Edition for Software Developers and when installing it it doesn't mention anything about source safe. How do I install source safe Does it come on seperate disks look on cd 2081 or dvd 2435.5 you can also search here to find the disk ...Show All
