magicalclick's Q&A profile
Smart Device Development Installing device driver
I have created a device driver for PPC that I install and setup registry entries for in HLM\Drivers\BuiltIn. Under PPC 2003, my device driver DLL gets loaded at boot time. If I go into he remote process viewer and view device.exe, my dll shows up in the list. OTOH, on a WMv5 device, the dll does not show up under device.exe until my application calls RegisterDevice. Is there a way on WMv5 to get my device driver DLL pre-loaded since it doesn't seem that BuiltIn works like it use to What limitations are there for loading device dlls On one particular device, The RegisterDevice call fails with a rc=2 (NOT FOUND) even though the DLL is in \Windows just like on devices where it works. I've been told that an rc=2 could mean, in this instance, ...Show All
.NET Development I had the same problem
Hi I hade the same problem after reading this message i find in the dataset.xsd-in the fill,getdata() configuration- advanced options- the refresh the data table, i selected it and it solved my problem. I dont realy now what the problem as because i was trying to save changes made by a edit command, if someone can help explain i whoud be tankfull. hope this message helps you. ; ) ...Show All
.NET Development Read XML
Hi I have the following file and I have only to get the domain and the addresses to this domain...how can I read it and print to a page...(WEB) < xml version="1.0" encoding="ISO-8859-1" > <!DOCTYPE config SYSTEM "config.dtd"> <config> <!.....a lot of things in XML SCHEMA that I don't need --> <perrcpt_policies> <inbound_policies> <content_filters> <content_filter> <filter_name>Dicionario</filter_name> <filter_comment></filter_comment> <is_AND>0</is_AND> <rule> <rule_type>Subject_Dictionary_Match_Rule</rule_type> <rule_data>Profanity</rule_data> &l ...Show All
Windows Forms DisplayMember with multiples columns
Hi all !! I'm trying to display more than one column in DisplayMember property of a ComboBox control. Is it possible I alson can't concatenate the coluns in the select command, becouse I'm using this command for the DataSource: this.lstTables.DataSource = con.GetSchema("Tables"); I hope you can help me. Regards, Eduardo Schuelter Eduardo Schuelter wrote: I'm trying to display more than one column in DisplayMember property of a ComboBox control. Is it possible NO....When default databinding is in use you can only bind the display member and the value member to a single column You can create a custom data class...that concantenates the columns into a single class field that can be databound ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Framerate component
Based on this thread I have created a simple framerate component. Considerations: You might change the namespace in line to your game's namespace. Currently, the game window's title will be used to display the framerate (this will change when XNA supports fonts). As a workaround, you can use garykac's bitmap fonts example to modify this behavior. If "Enabled" is set to false, framerates are not calculated (Current is set to 0). If "Visible" is set to false, the current framerate value is not displayed (but yet it can be calculated if enabled). When you want to show the decimal part of the framerate value (that is, "ShowDecimals" is set to true), you can set the display format to the fixed one (like "0.00"). You can also set whether the t ...Show All
Smart Device Development An internal error occurred in PlatformVerificationTask
Hi I get an 'internal error occurred in PlatformVerificationTask' warning when I build, but the code is still able to execute. There aren't too many people reporting this warning. So, it must either be very rare or there must be a quick fix to it. Ok, here is more detail concerning this warning and my project: 1) The project type is a device application for Pocket PC 2003 and is written in C#. I am running .NET Framework 2.0, .NET Compact Framework 2.0 and OpenNETCF 2.0 beta. 2) I am running VS2005 version 8.0.50727 (RMT.050727-4200) 3) The project was originally upgraded from VS2003 about two months ago, but this warning started showing a week ago. 4) The warning started showing after I added localisation to the project. This i ...Show All
.NET Development how to check if two TCPClients are the same
helo there again, its the networking newbie once more. LOL anyway, heres my question, i wanna know how to check if 2 tcpclients are just the same. so that i can determine that the client has connected more than once. and if the client has connected twice then the server will reject the second connection. thanks! JerberSoft wrote: well, thanks for the reply. i was exactly asking for a sample code. Suppose there are two connected clients... tcpClient1 and tcpClient2 then you can do this: IPEndPoint client1EndPoint = (IPEndPoint) tcpClient1 .Client.RemoteEndPoint; IPAddress client1IP = client1EndPoint.IPAddress; Do the same for other and then compare both IP Address if they are same or not, if they bo ...Show All
.NET Development Which Is New Version? "ASP.Net Ajax" or "Atlas"
I got confused between these versions to find the new.. Please reply to this n it would be nice if u have some link to download new version Hi there, The ATLAS title is a code name for ASP .Net Ajax. And now the latest version is RC (12/14/2006) for that. try to download it from : http://www.microsoft.com/downloads/details.aspx FamilyID=8fa6e076-582b-440f-95cb-c40ed23fdf59&DisplayLang=en and more information : http://ajax.asp.net Babak Izadi LotraSoft Ltd. ...Show All
Visual Studio Which Files in Source Code Control
I am using SVN for my source code control as not everyone where I work has access to VSS. The benefits of VSS that I found was that it automatically chose which files to include under the source control. I am using TortoiseSVN and recently Ankh SVN as it is an addin. However, I can't work out which files should be versioned. Just like this guy here . When I open my VB solution I see the following: Test - My Project - AssemblyInfo.vb - modMain.vb - modWord.vb - frmMain.vb Now it obvious that the last 3 need to under code control. However, even though I have added Test.vbproj and Test.sln to the SCC, the top three don't appear to be under control. Which files should you put under control What about the extra directories that get created ...Show All
SQL Server Let user choose column in custom component
Hi, I want to recalculate some columns in a custom component, due to a formula using a single column as factor. What will be the best way to let the user choose the single column (factor) beneath the columns to work with. Is there a way to use customproperties other than strings. DropDowns for example. If so, do you know a tutorial oder code snippet Thanks Not sure at what level you are asking this question, are you writing your own UI, or using the built-in advanced UI There is a topic in Books Online about building component UIs. have a look at that to start with. To select a column you would call the CManagedComponentWrapper.SetUsageType method. The usage of CManagedComponentWrapper in ...Show All
SQL Server how to display arabic parameter value in a text box
Dear sir Could you please help me I send a parameter using url http://localhost/ReportServer %2finves_report%2fget_plan&rc:Parameters=false&p_name= hanan and in text box expression ,I write =parameters!p_name.value when I send english parameter ,so it displayed very well , but when I send arabic parameter,so it display a null value Thank you very much best regards ...Show All
Visual Basic Executables as Project References.
I have inherited a distributed application that has 4 servers and one client. 3 of the servers are also clients to one of the servers. The clients have the Server Executables added in the client's "Project Referrence". In particular, the client app has added a Reference to the executable of one the servers. The client app makes use of one of the classes declared in the Server's project. Moreover, this class has a method to add messages to a collection running on the server. Everytime I call this method from the client app a message is added to the collection that runs in the server. I don't understand why this is happening. Question: By using this Server's Class, does it mean that the client app is communicating to the ...Show All
Visual Basic Where is the Fill() method?
I am trying to add new rows to MyDataBase.mdb with the below code. My problem is that it does not identify the columns. It fails with the error message “Name1 does not belong to Customers”. But it does so do Name2. I think it’s locating the database and table as I can retrieve data with the open code using SQL Select. Can anyone help Please hemo Dim connection As New OleDbConnection() Dim myadapter As OleDbDataAdapter Dim myDataSet As New DataSet Dim newrow As DataRow Dim MyTable As DataTable &nb ...Show All
Windows Forms ListView error System.ArgumentOutofRange ecxeption
I get that error in my ItemActivate event code, which is called when I double-click on a folder in the ListView control on my form (which lists all the folders and files in the root C:\ directory). Below is my event handling code: private void lvwFilesAndFolders_ItemActivate( object sender, System.EventArgs e) { //cast the sender to a ListView and get the tag of the first selected item System.Windows.Forms.ListView lw = (System.Windows.Forms.ListView)sender; string filename = lw.SelectedItems[0].Tag.ToString(); if (lw.SelectedItems[0].ImageIndex != 0) { //the item we double-clicked on is a file. try { //attempt to run the file System.Diagnostics.Process.Start(filename); } catch { //if the attempt ...Show All
Software Development for Windows Vista Extending Out-Of-The-Box Approval workflow
Has anyone been successful at creating a Sharepoint Workflow that calls the out-of-the-box Approval workflow My scenario is that I need to select approvers from an Active Directory structure before starting the Approval workflow. I'm assuming that I need to fill an XML file before calling the Approval workflow, but I'm not sure of the schema or how to create a project that will do these steps. Any help is appreciated. Thanks! Jean - this is a sharepoint specific question. please post it to the sharepoint forum, the following link maybe helpful: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=881&SiteID=1 Vignesh ...Show All
