chrisryche's Q&A profile
Smart Device Development [C#] Read the phonenumber
Hello, I'm french, sorry for my english. I try to read the phonenumber in my SimCard, Can you help me Thanks Well I don't know the answer myself but a quick search of msdn library... http://search.msdn.microsoft.com/search/default.aspx siteId=0&tab=0&query=sim+card+phone+number ...turns up this site that has your answers... http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfphoneapi.asp -Noah Falk .Net Compact Framework ...Show All
SQL Server import OpenSSL certificate with private key into sql server 2005 express edtion
hey, i have a problem, to import a self signed openssl certificate into the sql server 2005. my final idea is to get encrypted columns from the database over an jdbc connection in a java client. when i use a certificate generated by the sql server 2005, i can encryt columns of a table. then i catch the the result in my java client. but in java, i need a keystore with the private key of the certificate. ok. i have export the the certificate and the private key of the sql server 2005. problem: in a keystore i can only import the certificate (signed public key) but not the private key. my new idea is to import an openssl certificate or an certificate generated by the keytool (java) into the sql server 2005 and encypt t ...Show All
Software Development for Windows Vista Visual resizing
Hi! I am re-hosting the workflow designer. Is there any way to enable visual resizing of the activites in the workflow Thanks! hi. yes. in the FreeformDesigner. the child Activities can be move anywhere inside the FreeformDesigner bounds. but if you will resize the activity , this function wounld be needed. now ,you can use dragdrop mouse action to connect activities each other. capture a source activity's connection point and drag to a target activity's connection point. do this , a connector will be create by RootDesigner (at this time ,it is the FreeformDesigner) . you can override the FreeformActivityDesigner's CreateConnector virtual method to provide your custom connector if ...Show All
Smart Device Development Invoking Beep on Pocket PC using C#
Hi, Am developing an application where i have to alert a Beep sound in a Intermec 700 series pocket pc built on Windows mobile 2003 OS. However i get a missing method exception at runtime saying "Can't find PInvoke Dll kernel32.dll". I tried using the playsound function as well. However i get some other dll cannot be invoked at runtime. I am pasting the code sample here Beep function [ DllImport ( "Kernel32.dll" )] [ return : MarshalAs ( UnmanagedType .Bool)] public static extern Boolean Beep( UInt32 frequency, UInt32 duration); Beep(750,300) PlaySound function [DllImport("winmm.dll", SetLastError = true, CallingConvention = CallingConvention.Winapi)] ...Show All
SQL Server the user's select query should be denied but it didn't?
hi .. my problem is i create a user in sqlserver from enterprise manager as follows:- 1- goto logins and new login 2-type a name and choose sqlserver authentication and type a password 3- from server roles tab i choose system administrators 4 from database access i choose the database i need that user to connect to .and OK 5-i goto database node in enterprise manager and select the database and the table and double click on it and choose permissions and de-select the SELECT privilige then i use ADO to connect to sqlserver through that user and when i select(SQL query) the table the data appeared normally !!!! and it suppose to give me exception thanks in advance. Sorry, I didn't read your question properly and thought you had the lo ...Show All
Visual Studio 2008 (Pre-release) Getting Relationship Schema Data from CdmEntityType
OK, So I'm using CdmEntityType to crawl a type, but I can't seem to find the relationships. Is there a simple way of getting the list of relationships within a given type Thanks! Mike There is no simple way to do this, since a same entity type could be re-used in various ways and the different instance of the entity type can take part in different relationships. I would love to know the use case for this scenario. There's a bunch of ways to do this, but the best way to do this would be to find out all the relationship types in the workspace and see if the one of the ends is same or is an ancestor (one of the types up its base class chain) of the given entity type. public static void FindRelationshipType( ...Show All
Visual Studio Express Editions embedded resources
hi please bear with me as im only just learning c# i have made a gui in c# that access exe files and passes command to them and everything works great it does exactly is i need but there is one thing i woul like to do. some of the external files i would like to embed into the exe and extract to a certian dir upon runtime.say extract to sub folder from there i am ok at calling the exe and running it but would like to know how to unpack it from the exe. i can embed it ok i just dont know how to called it to unpack any ideas regards choss sure, take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=878308&SiteID=1 http://forums.microsoft.com/MSDN/Show ...Show All
SQL Server ForEachLoop and Object-Variable
Hi there! I want to use a ForEachLoop. I've an object variable what i fill before going into the ForEachLoop. It contains 4 columns and in my testscenario it has two rows. In the ForEachLoop i want to set the current row values to 4 package variables (within package scope). So i set the Enumerater as "Foreach-ADO-Enumerator", the Ado-source-variable is my objectvariable (what contains the recordset), and the enumerator-configuration i set to "rows in all tables" ("rows in the first table" works with equal result). The variable-mapping looks like that: Mypackvar1 - Index 0 Mypackvar2 - Index 1 Mypackvar3 &nbs ...Show All
Visual Studio VSS 2005 Archive error
I recently migrated our VSS to 2005 version from 6.0. I analyzed the data and fixed the errors and now there are no errors found. Now when I try to create an archive of our database, I get this error "Compression error:compression block may be corrupt". When I click Help button on this error dialog, there is no help found and I see it was looking for ERS_STR_COMPS_HDRCORRUPT. I could not find any documentation for this error. When I used the command line utility ssarc, I get the same error. I was installing VSS 2005 upgrade and so did not remove VSS 6.0 before installing 2005. Surprisingly, VSS 2005 did not ask to update current 6.0 installation. Both 6.0 and 2005 co-exist on my machine. I tried to use ssarc from VSS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fur Shading
Hello, I've found an interesting tutorial on acheiving real-time furshading with HLSL, unfortunately the tutorial's examples are in C++, and using straight DirectX which I don't really understand that well. As such, I was hoping someone here might be able to convert one or more of the examples into something that is compatible with XNA. I'm sure that other programmers here could benefit from these examples being in C#, so if anyone can help please post any conversions you've made of this tutorial's examples, thankyou. The tutorial can be found at http://www.xbdev.net/directx3dx/specialX/Fur/index.php Cool, I hadn't really looked at the source code of the project (I currently don't have a C++ compiler so ...Show All
Visual Basic "The operation could not be completed. Access denied"
Hello people, I’m a really annoying issue with VS Express, and I can’t seem to find any way around it. If I load a project in VS and press F5, the build is successful and the program runs, but only ONE time! If run my program again, I get the following message: "The operation could not be completed. Access denied". However if I skip debugging by pressing CTRL+F5, everything works fine. If I restart VS, I can use F5 once again, but still only one time, then another restart is required. Below is the output from the build. To me it looks like the build process completes every time, and that it is the debugging that for some reason gives me this access denied. I earlier had an evaluation version of VS Pro, with the exa ...Show All
Silverlight (formerly WPF/E) Store image object in a javascript object
I currently have an application that creates an image object in pure javascript using the following code: this._image = new Image(); $addHandler(this._image, 'load', Function.createDelegate(this, this._onLoad)); this._image.src = url; The neat thing about this is that I can wait with putting the image element into the HTML document until the browser actually has it loaded. So basically my onLoad function just add's it to the DOM and hides a progress indicator: $get('images').appendChild(this._image); this._image.style.height = "50px"; this._image.style.width = "50px"; $get('progressIndicator').style.display = "none"; Now, I want to do the exact same thing using XAML, but as far as I can see, you j ...Show All
Windows Forms Multiple Column Dropdownlist DataGrid
Is there a way to do a multiple column dropdownlist datagrid in Visual Studio 2005 using Visual Basic I found a way using ASP.net, but I haven't used ASP. I have a project written in Visual Basic and I don't have time to learn ASP.NET just to use that version. A Visual Basic version would be very help ful.. Can anyone help me Are you looking for something like this ...Show All
Visual Basic Please will someone give me a code for a webcam?
Please will someone out there send me a code so i can view my webcam on a windows form. Please , Please , PLEASE! Thank you everso much. Looks like some code. From the description, its 1.1 framework stuff developed using 2003 but as the original poster didnt provide any specifics about equipment and development environment. I suppose this should give them something to work with. Guys/Girls - when you post a question - try to provide as much specific details as possible. If your looking for assistance we need to know specifics to give you a good answer. The more specifics you give the more likely you are to a. Get an answer b. Get an answer with addresses your specific question c. Get an ...Show All
SQL Server how to get cap file into database
how to get the cap file into database AA0B0105200706040003021500FF1A7D77 AA0B0105200706040003022600FF1A7E76 AA0B0105200706040003022800FF1A7F7B AA0B0105200706050000070900FF1A8006 AA0B0105200706060003001500FF1A810D AA0B0105200706090000009300FF1A820C AA0B0105200706570003001100FF1A830F AA0B0105200707340003068000FF1A8402 AA0B0105200707400003065500FF1A8508 AA0B0105200707460003068400FF1A8601 AA0B0105200707480003021700FF1A8700 AA0B0105200707500003023200FF1A8801 AA0B0105200707540003022100FF1A8906 AA0B0105200707560003023500FF1A8A79 AA0B0105200707580003023700FF1A8B76 AA0B0105200707590003065700FF1A8C74 AA0B0105200708000003021900FF1A8D7E AA0B0105200708010003067100FF1A8E74 AA0B0105200708030003067800FF1A8F7C AA0B0105200708030003022300FF1A9001 AA0B01 ...Show All
