Palmi's Q&A profile
Windows Forms Can you tell me where can I find the best custom control collections for C#?
Can you tell me where can I find the best custom control collections for C# did you mean commercial collection if this what you want personally i like Janus and devexpress collection look for more at http://www.componentsource.com/features/a200/index.html http://dotnet.devdirect.com/ if you look for free controls you can look at http://www.codeproject.com/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D model is incorrect after adding a Sprite in 2D
I took the example of drawing a 3D model(tutorial 1 and 2(spaceship)) and then pasted the code from the tutorial of the "Drawing a Sprite" When It renders the ship doesn't have volume. In that I can see right through it. Does anyone know what is wrong. Is there some thickness setting for the graphic devicer that I need to set The complete code is pasted here: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; #endregion namespace ...Show All
SQL Server XQuery Performance Question
Dear all, I have a database table which holds app. 1 million records. One column is an XML column, which stores XML like: <PartDef PartID="71234567" .... /> I have setup a primary and secondary XML index on this column. The following query performs very well (less than 1 second in Management Studio): SELECT PartIDForGUI = PC . PartDefinition . value ( '(/PartDefinition/@PartID)[1]' , 'nvarchar(16)' ), FROM dbo . PartCurrent PC WHERE PC.PartDefinition. exist ( ' /PartDefinition/@PartID[.="71720994"] ' ) = 1 When I want to retrieve several records similar to using the SQL statement LIKE '7602%' with: SELECT PartIDForGUI = PC . PartDefinition . value ( '(/PartDefinition/@PartI ...Show All
.NET Development Creating a "Proxy" for Client-Web connection
Hi, I have created an application that uses internet connection (think of it as a web browser), but this application is going to run on another computer, by another user, and instead of accessing directly the web, I need that application to access the web, through my computer. So basically I need to create a sort of proxy server for that application, so it accesses the web and receives the data, all done through my computer, that will be using a small application to serve as a 'proxy' for the connection between the client application and the web. ? I need help in creating this kind of server, and I will also need to know what will the client application need to communicate with the 'proxy server', that will be my computer. Here ...Show All
Visual Studio Express Editions See if you can hlep!!!
Can anyone help I just to use the following VB to send a click stroke, anyone can help to identify what I have to do as I cannot get it work because I cannot find the right click name or ID of the submit button ie.document.all("SEC_username").Value = "XX" ie.document.all("SEC_password").Value = "XXXX" Set ipf = ie.document.all.Item("submit")<---this maybe incorrect. ipf.Click <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN"> <HTML><HEAD> <TITLE>XXXXXXXXXXXXXXXXXXXXXXXXXXXX -XXXX</TITLE></HEAD> <BODY BGCOLOR=#FDBD49> <FORM METHOD=POST ACTION=" http://XXX.XXX.XXX/cgi-bin/ias.cgi "> <INPUT TYPE=HIDDEN NAME=scr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D 3rd Person Camera
at the moment i have created a kart racing game and have the model and have set up a camera but it does not look at where i want it to look. which is following the back of the kart. This code is mainly from going beyond ( i think). my draw function... protected override void Draw( GameTime gameTime) { graphics.GraphicsDevice.Clear( Color .CornflowerBlue); //Copy any parent transforms Matrix [] transforms = new Matrix [kartmodel.Bones.Count]; kartmodel.CopyAbsoluteBoneTransformsTo(transforms); //Draw the model, a model can have multiple meshes, so loop foreach ( ModelMesh mesh in kartmodel.Meshes) { //This is where the mesh orientation is set, as well as my camera and ...Show All
.NET Development Datatable: works in windowsApp, not in ASP.NET
Hi all, I've got a very weird problem. I'm trying to retrieve a datatable and in my view this works. Here's my (test) code in ans ASP.NET code page. 1 Public Sub New () 2 cls_datamanager = New DataManager() 3 Get_errors() 4 End Sub 5 6 Public Sub Get_errors() 7 Dim cls_Error As New Error_Logger(cls_datamanager) 8 Dim cls_datatable As New DataTable 9 cls_datatable = cls_Error.List_errors 10 11 'grd_errors.DataSource 12 lbl_test.Text = cls_datatable.Rows(0).Item(0) 13 14 End Sub cls_error and cls_datamanager are some classes for DAL and three tier development I use and they work. I get a NullReference Exception when I get to the last line of code. The strang ...Show All
Windows Search Technologies Vista Machine with Office 2007- Outlook not finding emails. Instant Search/Indexing issue
Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All
Visual Studio Localreport w/Image control, source=database
I'm using VS 2005, C#, a ReportViewer in a windows form, LocalReport, and an Image control with source=Database. The ReportViewer's LocalReport.EnableExternalImages=True and ProcessingMode=Local. The image is a bitmap in a datasource. When I run the report, I get the red "x". Outside of ReportViewer, I can see the image using a PictureBox control (pictureBox1.Image = DiagramBitmap;). Within ReportViewer I'm using an Image control with MIMEType=image/png, Source=Database, Value=First(Fields!DiagramBitmap.value). I've tried different selections for Sizing (FitProportional, Clip, AutoSize), but the results are the same. Other non-image fields in the datasource are not a problem. Does anyone know how to get more information ab ...Show All
Visual Studio Team System Sample TFS Projects?
Are there any sample TFS projects available that I could load into TFS and study I'm having trouble understanding what Microsft expects me to enter in the Work Items "Scenario" and "Quality of Service". I see the templates but I don't know what info would normally populate them. TIA, Barkdingdog Having the "Duwamish books" or "Cedar Bank" application for TFS would be a great thing to get corporate groups up and running and understanding how TFS works as well as how it is like/different from previous visual Studio releases. Is there any chance we'll see this soon ...Show All
Visual Studio Express Editions Progressbars: For Each foundFile As String In My.Computer.FileSystem.GetFiles
With regards ahmedilyas solution below to copying various file extensions, how can I tie 2 progressbars to this code ProgressBar1 measures each file copy progress ProgressBar2 measures overall files copy progress Thanks for any help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=832447&SiteID=1 Dim theExtentions() as String = {"*.jpg", "*.bmp"} for each currentExt as String in theExtentions for each currentFile as String in My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.MyDocuments, FileIO.SearchOption.SearchAllSubDirectories, currentExt) 'do your thing next next the same thing ...Show All
SQL Server Upgrade SQL Server 2K to SP4
One of our windows service logged following events Event Type: Error Event Source: MSSQLSERVER Event Category: (2) Event ID: 17055 Date: 1/31/2006 Time: 7:56:04 AM User: N/A Computer: blah blah Description: 17066 : SQL Server Assertion: File: <rowset.cpp>, line=3260 Failed Assertion = 'm_cILockBytesOpen == 0' ================================================================== Event Type: Error Event Source: MSSQLSERVER Event Category: (2) Event ID: 17055 Date: 1/31/2006 Time: 7:56:04 AM User: N/A Computer: blah blah Description: 18052 : Error: 1203, Severity: 20, State: 1 Process ID 53 attempting to unlock unowned resource KEY: 11:2041058307:1 (8e02b4254032) ================================================================= ...Show All
Visual Studio Team System Can't undo CreateTeamProjectFolder()
I'm having a similar problem, but with a more straightforward cause: I created a root version control project folder via Microsoft.TeamFoundation.VersionControl.Client. VersionControlServer :CreateTeamProjectFolder() so as to minimize its visibility. TfsDeleteProject won't delete it, nor can I create a new "full" team project that uses the existing root version control folder. Is there any way to get rid of this thing Rich, that method is used as part of team project creation, but it's only the version control part. I don't recommend using it. There is no method in the OM to delete that folder. You might be able to delete it by first creating a new Team Project, specify that there should be no versio ...Show All
Visual C++ Replacement of CComModule in VS2005
Hi, I'm porting one of the dll from vc6 to vc8. In doing so I have created a complete framework to create a dll and subseqently add atl objects. By default the framewaork adds the follwoing code in the main app file class MyClassModule : public CAtlDllModuleT< MyClassModule> { public : DECLARE_LIBID(LIBID_MyClassLib) DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MYCLASS, "{7C00C752-3DA7-4CB9-B721-7F39F9FEDD2E}" ) }; In previos versions of ATL CComModule _Module was used which has been replaced by CAtlBaseModule. Problem: There was an extern declaration as extern CComModule _Module in stdafx.h and definition in main app file as CComModule _Module . How do I replicate the above behaviour in t ...Show All
.NET Development Reading cells i .xml?
I need to read colums and rows from an .xml document, but i simply can not get it to work. The table example looks some like this: A B C 1 tA1 tB1 tC1 2 tA2 tB2 tC2 3 tA3 tB3 tC3 Now i need to read the cells and rows, and do following: Contens of ListBox1 = Colum A. When A1 (tA1) is activated i the listbox. Fill label1, label2 and label3 with the values from row 1 (A1("tA1"), B1(" ...Show All
