ronhawker's Q&A profile
Smart Device Development why the same code have diffren result between PC and PPC?
why the same code have different result between pc and ppc Sample Code (run as windows form ): create a form , add treeView control and add code as show following in form_load method. bool isSelected = false; treeView1.CheckBoxes = true; TreeNode tn; for(int i=0;i<40;i++) { if(i%2==0) isSelected = true;   ...Show All
Visual Studio 2008 (Pre-release) How to add MediaElemet in a MaterialGoup?
Hello! I’d like to apply a video inside my Viewport3d-object. I’ve have succeded with bitmaps but I haven’t figured out how to it with a MediaElement.. With bitmaps it looks like this: <MaterialGroup> <DiffuseMaterial> <ImageBrush> <ImageBrush.ImageSource> <Bitmap UriSource="file:///myPng.png"> . : : </MaterialGroup> Would be grateful for some hints.. /Erik ...Show All
Visual Studio 2008 (Pre-release) WCF interop with legacy TCP and UDP clients
I need to interoperate new WCF products with our existing TCP and UDP based messaging products, starting with TCP. Do I need to create an entire custom transport channel from scratch, or can I just use a custom MessageEncoder with an existing transport channel The issue has to do with the fact that each Message in WCF is based on Soap/Xml. The byte streams coming in from and going out to the legacy systems are not Soap/Xml, but proprietary ...Show All
Visual Studio Express Editions Login control failing
I'm having problems with the Login control. I'm testing using a new application with one "Default" page. I've enabled ASPNETDB using "ASP.NET configuration", and set a role and a user. The Login control works when I run it from within Visual Web Developer Express. When I run the app from IIS using IE and try to log in I get: Cannot open user default database. Login failed. Login failed for user 'xxx\ASPNET'. I attach ASPNETDB (in App ...Show All
Visual Studio Extending a DSL post-deployment
I'm exploring the possbilities for allowing end users of my DSL to add metadata beyond what I know of when preparing the product. There are places where it would be useful for people to add metadata specific to their environment to the DSL. For example: say one end user's deployment environment is such that all decision points in a workflow can be resolved with reference to their proprietary or third-party rules engine. I can provide a DSL that ...Show All
Windows Forms Print txt File in Printer
Hi, Does anyone knows who to print a txt file direct on a printer using "Generic / Text Only" Driver ! tks. The .NET Framework QuickStart Tutorials have a SimplePrinting project that you can check out underneath of  ...Show All
Visual Studio Express Editions Add a web Srvice As a data source to my project
I want to Add a web Srvice As a data source to my project I add it successfull but after thet it did not add to my data source and still i donot have a datasource how can i solve the problem i do not Write Code For it I just Add a datasource and Choose Webservice and Add my Web Service . but no datasource add to my Project Do u Know Why A web service is not a data source, it builds a class that you can create instances of, and ...Show All
.NET Development WSAT connection error
Having problems accessing the security tab of WSAT. There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server da ...Show All
SQL Server SQL Mobile Installation Problem on Device
I have been unable to properly install SQL Mobile 2005 on my armv4i windows CE 5 device. Below is a summary of what I have found and done. Any help in resolving my issue will be appreaciated. Thanks in advance for your help. Symptoms: No errors occur during installation of SQL Mobile on the device via cab files (either deployed through VS2005 or manually copied and installed on the device) SQL Mobile 2005 appears to be instal ...Show All
Microsoft ISV Community Center Forums Migrating from VC++ 6.0 to VC++ 7.1
Hi, We currently have VBA SDK 6.3 support in our product that is compiled under VC++ 6.0/SP5. When I compile the VBA code in VC++ 7.1, I get the following errors. We are using un-managed code in our application. Is there a patch or a newer version of SDK that I should be using Is there a migration document that shows how to convert existing applications from VC++ 6.0 compiler to VC++ 7.0/7.1 compiler Thanks for your help, - Vittal Sriniv ...Show All
SQL Server Conditional IF in a derived column transform
HI, I was wondering if there is a possibility to use a confitional if like this: IF(ISNULL(mycolumn value, "new value if null", mycolumnvalue) into a derived column transform to infer a value to a null column value. I do know I can do it using a script component by it would be simpler to do by using an expression. Thank you, Ccote Yes, you can do this. Look here in BOL for conditional oper ...Show All
Visual Studio Express Editions How to filter the items in a listbox depending on the selected item in a combobox.
Hi, I have a combobox bound to a Section table and a listbox bound to a Department table. The listbox has to display the departments agreing with the Section selected. I tried this: Private Sub SectionComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SectionComboBox.SelectedIndexChanged DepartmentBindingSource.Filter = "SectionID=" & SectionComboBox.SelectedValue End Sub but it ...Show All
Visual C# How to save html file and respective dependent files in server
Hi All Currently iam working with web application using C# ,my requirement is need to save a html file ,whenever saving a file the related image files should save in a folder Ex: When you click http://aspalliance.com/150 in URL when we use save as we can save it as HTML file and the related images are saved in related folder I need to implement the same concept Could any one please guide me Thanks a lot Probably you can us ...Show All
Visual Studio target to copy files before it builds
I have a xml file in some directory, How can I copy the another file with the same name in the same directory before it builds. I know hot to do the copying part, but which target should i use to set it before it builds <target = beforeGet> Thank you Have you tried to delete the app.config file using the Delete task If it still gives you the error then you'll have to use the Exec task and ...Show All
Visual Studio Team System Work Item tracking through web parts?
Hi, Is it possible to perform work item tracking through web parts in project website Could we use Microsoft share point service to make it possible to add requirements/bug through web client (w/o installing VS 2005 in client machine) Thanks, Saurabh it should be possible, all of the calls are available through Webservice Calls. However, there is currently a 3rd party tool in Beta that does this throug ...Show All
