Sanje2v's Q&A profile
.NET Development Check how many references there are to an object
Hi! I am writing a .NET Compact Framework application, which loads a certain number of controls in a row and displays them to the user (first control A gets loaded and displayed full screen, then control A is replaced with control B, B is replaced with C and so on, but only one control is loaded at a time and each control will also be used only one time). Writing this application for a memory constrained environment (Pocket PC) I added a finalizer to a few controls to see if they got disposed properly, yet they didn't. So I wonder if there is a way to track the number of references to an object so that I can find out what keeps these controls from being collected. One thing to note is that although you have added a finalizer to a cont ...Show All
Visual Studio Team System Team Build fails
Hi, we have a problem with team builds. I think we already came to the ground of the problem, but we don’t know how to fix the problem. Our desktop build works fine. But from Team Build we get: Solution: , Project: ClientSideComponents.sln, Configuration: Release, Any CPU D:\DataSwiss\DotNet\Deploy\SC\SC\mz workspace\Sources\ClientSideSolution\ClientSideComponents\ClientSideComponents.sln(0,0): error MSB3202: Die Projektdatei ..\..\..\..\Anwendungsdaten\Microsoft\SCV10\ClientSideSolution\ClientSideForms\rmc\rmc_block_src\rmc_block\rmc_block.vbproj was not found. We think the core of the problem is our Solution-file. That’s a part of solution file which works fine at team build compile time: Project("{F184B08F-C81C- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PNG Alpha Channel
I've imported a semi-transparent PNG to use for a sprite but the alpha channel isn't taken into account. It just renders as a fully opaque texture. How can I enable alpha channel support I used Photoshop CS to make my transparent PNG files and had no issues. In Photoshop did you save your PNG file with a white background still showing I got my image ready, deleted the white background so that the Grey and greyer squares (denoting transparency in Photoshop) were showing, and then saved as a PNG file. After that I simply set my mode to Alpha (as mentioned earlier in this chain) and drew it to the screen with no issues. Hope that helps. ...Show All
Windows Forms Hi!! is there any way in C# n visual stdio 2005 that we can...........
hi i want to replace the conventional look of windows forms to a bitmap customize look of my software......there fore is there any way that i can load a bitmap...and on that bitmap i load the "-" "x" the minimize buttons and cancels buttons in a superb look......i hope u understand what i want.....again.....i want to replace the form look through a bitmap...and on that bitmap i want to paste button and take work of forms through it hi...well plz tell me any good tutorials...and something that i can do it.....if there is a way it.....as i m beginer in C#.. thank u.// In Windows you can override the painting of a window's non-client area (the title bar, close/minimize/maximize buttons, border). .NET d ...Show All
SQL Server Problem with SSIS Package (dtsx)
Hi all! I have open the one package dtsx and return this error: Error loading 'Test.dtsx' : Error HRESULT E_FAIL has been returned from a call to a COM component.. c:\projects\... etc.. which the problem THX What tool is opening the packge Dtexecui or BIDS (Visual Studio) If BIDS, is the package part of different solution/project other than the one in which it is opened, or part of any solution/project at all Reason I ask is that I have noticed this same message in BIDS in certain circumstances after closing a .dtsx file opened in a project to which the package has not been added (i.e. its not referenced in the .dtproj file). In particular, those circumstances are ...Show All
Windows Live Developer Forums printing custom tile maps.
Hi.. I am encountering a situation with printing the VEMap and I can not find a solution..so I hope one of you out there knows about this problem.. When I add custom layers (composed of transparent . png tiles containing visual information) from my server on top of the VEMap only the top layer of the map will print. The implementation of my server and client is described here http://www.viavirtualearth.com/vve/Articles/RollYourOwnTileServer.ashx Only the last added layer will print. The odd thing is that if I try to print preview it, it behaves correctly and it displays the whole map with its added layers... if I try to print it though.. it prints just the last added layer. Any clues or help are very welcome!! Thanks k ...Show All
.NET Development Sybase in .Net ( C#)
Hi All, I wanna to use BCP utility for Sybase to get a data from Sybase in c# console Application and the data to send to SQL Server by BCP Process.. Please help me out to import the data. thanks in advance, -- senthil If you want to import Sybase data to SQL Server I would just use the DataReader and the SqlBulkCopy Class . ...Show All
Visual Studio See lines
Hi sorry if this is in the wrong forum where can i in visual studio say that i want to see the numbers of the codelines regards alvin Hi Alvin, Tools menu => Options... => mark Show all settings => under Text Editor select All Languages then select General => Mark Line numbers (under Display ). Hope this helps. ...Show All
Windows Forms Problems trying to create a Control
Hi, I'm going to try to explain my problem: I am building an application that have some context menus, and when you click on the option "Properties" then appear a Dialog Box where you can introduce some characteristics. In that Dialog Box I want to create a kind of table where you can add rows when you want to introduce a new property. I know in java there is a Control called "jTable" which is what I think I need. But, with Windows Forms, the most similar control is TableLayoutPanel and it's not enough. So I decided to create my own control which was similar to the "jTable" in java. I create a new "user control" and put in it a TableLayoutPanel. I wrote the following code: public partia ...Show All
Software Development for Windows Vista Trouble with Ink and a WebBrowser control
Hello all, I hope I can find some help here. I am trying to create a small sample application that uses Ink and a System.Windows.Form.WebBrowser, but I am having a few issues. I have tried all the following with a standard Form Panel and it works great, however with the WebBrowser I am running into several problems. Whenever I go to Select a Stroke the Stroke itself disappears and you can no longer see it, however you CAN see the transform box surrounding it. You can move and scale the Stroke just fine, except you just cannot see the Stroke itself. If I minimize or cover up the WebBrowser with another window, say Visual Studio, and then come back to the WebBrowser, the stroke appears fine. It seems that when the WebBrowser is Inva ...Show All
Visual Studio Team System Team project structure; build and deployment strategy.
Hi. At our company we have one Team Project containing multiple solutions each containing multiple projects. Our primary solution contains 29 projects. Many of these projects are interdependent due to required project references. For example, several projects(website, webservices, client apps) all depend on a BLL project, DAL projects, plus a few others. It’s a typical n-tier setup supporting multiple apps of different types. Due to the way we currently have this setup, we’re encountering the following problems: 1. Loading the primary solution is getting slower and slower. 2. Team builds are slow. 3. When addin ...Show All
Microsoft ISV Community Center Forums Microsoft....Is this a joke? (email received from customer service at microsoft)
Below is the response I received when I attempted to report a bug in IE 6 to the website...In my opinoin, this is outrageous! Hello George, Thank you for contacting Microsoft Online Customer Service. I apologize for any delay in our response to your issue. Due to an increase in requests, our response may be longer than usual. We appreciate your patience. I understand you have identified a bug in Internet Explorer 6 and you would like to report this bug. I request you contact the Microsoft Product Support Services team to submit a report with regard to the bug you have identified in Internet Explorer 6. You may contact them by calling (800) 642-7676. Representatives in this team are available 24 hours a day. You may have to ...Show All
Visual Basic error again in moving folders
Hi I use this code now: Dim theDirectories() As String = Directory.GetDirectories( "\\server\kursister$\" & combohvem.SelectedItem & u2) For Each currentDir As String In theDirectories My .Computer.FileSystem.MoveDirectory(currentDir, "\\server\vaerksted$\" & combohvem.SelectedItem & u2 & "_" & dato & "\" , True ) Next But if my folder maybe is images and i in this folder have 3 folders 1 - 2 - 3 then the code moving the 1 - 2 - 3 folders and then i get an error, and my images folder remains back why reagrds alvin Hi My folder name images in this folder i have maybe 3 folders then if i use the code, its mo ...Show All
.NET Development serialport
I create a serialport and i add Datareceived event. When a call is coming i use readline function. I see only RING RING RING... I want to get the caller id. When i use HyperTerminal i write at,then at+vcid=1 and the number is displaed when a call is incomning. Also i receve OK when i write this strings in HyperTerminal. In my program i use the functions write and writeline whith the strings AT, AT+VCID=1 but i dont see any "OK" just the strings i wrote. I dont know if i use properly the "write" function to send strings to the com port or is something else that i do wrong. Can you help me with the caller id This is the code in c++ . No problem if you show me something in basic p ...Show All
Windows Forms Read data from App.config
Hi how can read data from the configuration files, in VB2005 and VB2003 Is there a specific seciton you are looking to read in Check out this link for a general overview http://ryanfarley.com/blog/archive/2004/07/13/879.aspx ...Show All
