skinnybuddha's Q&A profile
Windows Forms Removing Componets (exp Checkboxes )
If I wanted to lets say... have a few checkboxes right... and I wanted to remove the ones that are checked... how do I do that Like.. remove the checkbox right along with its value. What exactly do you mean by "remove". I'm gonna guess that hiding the checkbox would be sufficent: foreach (Control ctl in panel1.Controls) { CheckBox chk = ctl as CheckBox; if (chk != null && chk.Checked) { chk.Visible = false ; } } ...Show All
Smart Device Development Virtual Serial Port under Windows CE
I'm looking for a way to create virtual serial ports(COM ports) in windows CE. Does anyone have a suggestion please do NOT duplicate post (again) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=631409&SiteID=1 ...Show All
SQL Server Queue Error
Dear all, I am getting the below error every day. Can u tell me is this error is from sqlserver End or from the disk end. Error : Too many queue requested to disk(disk_01) Regards Mohd Sufian Hi all, This explanation may help u all. Too many queue requested to disk(disk_0X) occures when too many request keep on wating on the Disk.May be Reads or Writes. After a certain period of time Too many Queue Requested to disk is issued. To check this there are too ways. (1) Check out from the WebServer Monitoring Tool.(Sql Server Memory Structure). (2) Run Perfmon Disk counters Regards Mohd sufian ...Show All
Visual Studio Express Editions Music
Does anybody know how to play a mp3 file ALso does anyone know of a way to trigger an event after a songf is done playing Maybe get access to its length and time it or something Steve well you can hide the plugin UI or just reduce the size of it or set its properties appropriately. http://msdn.microsoft.com/windowsmedia/downloads/default.aspx http://www.microsoft.com/windows/windowsmedia/forpros/platform/sdk.aspx documentation: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmplay10/mmp_sdk/playercontrolguide.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/wm ...Show All
Smart Device Development x509Certificate.CreateFromSignedFile(filename) member missing in CF 2.0
Hi, I want to read the certificate from an assembly into a byte array and pass it to the x509Certificate constructor in CF 2.0. How do I do it Open the assembly as a binary file and parse it Thanks, Suat ...Show All
.NET Development XslCompiledTransform.Transform Error when reading Ascii special characters
I'm trying to run an xsl transformation on XML generated from a DataSet. In that dataset I have a string that is a list of values separated by ASCII char 30: qualArray += dr[ "Qualification" ] + (( char )(30)).ToString(); When I use a "|" or some other regular character the transformation works fine but when I use a special ascii character it fails. How can I use the special character as a separator in my string and succesfully run the transformation Here's what I'm doing now: XmlDataDocument xmlDoc = new XmlDataDocument (TransformDS); // Load the style sheet. XslCompiledTransform myXslTransform = new XslCompiledTransform (); System.IO. StringWriter stWrite = new System.IO. StringWriter (); ...Show All
.NET Development MDA: Binding Failure
On initializing a webservice with: mywebservice. service1 serv1 = new mywebservice. service1 (); It throws the following MDA exception: The assembly with display name 'WindowsApplication1.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'WindowsApplication1.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'WindowsApplication1.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Can someone make sense of this and what I need to do to fix it ...Show All
Visual Studio Express Editions Compile and Build Project from command line or programatically
I would like to compile/build a complete project from the command line or do so programmatically. What are the command line instructions and how can I do this from another application hi, to build a project using command Line you will need to use csc.exe as what ahmad said but first you have to register its path with the system to save your self from typing each time you gonna use it , this thread might help you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=214689&SiteID=1 or you can type the path each time between quotations, this thread about other command line tools to register a dll in the gac but uses quotations for the path http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=606367&SiteID=1 h ...Show All
SQL Server trim trailing white spaces
Hi All, I have a column which has some white spaces that I suspect is tab delimeted one. So when I use a rtrim(col1) it would not trim those. So i used a scrip component and wrote this line, Row.trimDetail = RTrim(Row.detail) here trimdetail is an o/p column and detail is the input col with the trailing spaces. but still I don know why the column has that spaces. Can someone help me to figure out what is the problem Thanks in advance, Well, are you sure they are spaces and not tabs You could also just use a derived column transformation to do the trimming instead of a script. that likely won't help here though. ...Show All
Visual Studio Tools for Office More on Exception from HRESULT: 0x800A03EC
I've been trying to trace this error down and I've found a curious thing. 1) When I put a breakpoint on the ThisAddin.Designer.vb New method, I find that it appears to be the first line called. No surprise. What is surprising is that I have an exception before that line executes. A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll 2) When I step through all the startup code and into my test code (below) I get the following two additional exceptions on the line Debug.Print(Application.ActiveCell.Name.ToString) A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll A first chance exception of type 'System.Runtime.InteropServices.COMException' ...Show All
SQL Server create dymanic dts
i can writing dynamic dts package . but not working. code is here : Public goPackageOld As New Package Public goPackage As Package2 Public Sub RunDTS() Dim goPackage As Package2 goPackage = CType (goPackageOld, Package2) goPackage.Name = "DTS3" goPackage.Description = "DTS package description" goPackage.WriteCompletionStatusToNTEventLog = False goPackage.FailOnError = False goPackage.PackagePriorityClass = CType (2, DTSPackagePriorityClass) goPackage.MaxConcurrentSteps = 4 goPackage.LineageOptions = 0 goPackage.UseTransaction = True goPackage.TransactionIsolationLevel = CType (4096, DTSIsolationLevel) goPackage.AutoCommitTransaction = True goPackage.RepositoryMet ...Show All
Visual FoxPro Transactions, buffering questions...
Hi all! I do have a code were I open a table, store it on a cursor like: select name,surname,address from myTable into cursor myCursor readWrite and I display it on a grid. Then what I do is to let the user select a record, click on an " EDIT " button and edit the specific record (on another form), and after he clicks on a " SAVE " button to commit the changes to the table. So far everything is fine! My main problem/question is that I need this software to be a multiuser application and run over a LAN. So all the tables are shared (so the database is) and I try to use BEGIN TRANSACTION , END TRANSACTION and ROLLBACK commands. But suppose I have 2 users, user A and user B. If user A and user B are both viewin ...Show All
Smart Device Development Deployment From SD Card autorun.exe & restart
Hi, Ive been testing different ways to instal compact framework 2 and SQL components then my app , using mobile 5. My problem is .. I use autorun.exe and once inserting the SD card, it fires the autorun event as expected , i then copy CF2 to the startup dir on the PDA then restart the PDA with code. The problem is here.. once the system comes back up ,the system does not detect the autorun.exe on my SD card (sometimes does trigger the event but sometimes doesnt!!) i use this to copy SQL .Bat's and a exe to install them as well as my app ,all on the next load up. Does anyone have any ideas how to fix this Or even a better way in doing this process Many Thanks in advance... Jason ...Show All
Software Development for Windows Vista Error in WorkFlow Monitor
Hi, I have a problem to start Workflow Monitor. It says "Exception in GetWorkflows" and the description is: "No se puede cargar el archivo o ensamblado, 'Proceso, version 1.0.3, Culture = Neutral, PublicKeyToken = null ni una de sus dependencias. El archivo no puede hallar el archivo especificado. In tracking' Database in table Workflow and column WorkFlow Definition appear this: <ns0:VentasAFacturacion documentO="{p1:Null}" x:Name="VentasAFacturacion" ProcesoID="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:p1="http://schemas.microsoft.com/winfx/2006/xam ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model texturing
Does anyone know of any sites where I can find out how to texture a model and then export that texture to be used in XNA I am new to modeling and any help would be awesome. Thanks in advance. You're not providing enough details. The process for texture mapping a model is going to be different depending on what application you are using. You don't map a model the same way in Maya as you do in 3DS Max. (despite the fact that both programs are now published by the same company) Most programs do have some basics that they usually offer, though. Your mapping technique is going to be largely dependent on the nature of your model. If your model is fairly organic, that is to say, it is smooth and seamless, ...Show All
