VoiceOfExperience's Q&A profile
Visual C# Is there any function for converting Currency ( Numbers to Words )
Hi groups, I need some idea/ways are there for creating currency conversion. I mean if i give inout as numbers ( say 1500 ) is should convert into text as [ One thousand five hundred only. ] Hope someone already implemented this type of functions for reports etc..pls share your logic and code if any. Maheshkumar.R wrote: Hi groups, I need some idea/ways are there for creating currency conversion. I mean if i give inout as numbers ( say 1500 ) is should convert into text as [ One thousand five hundred only. ] Hope someone already implemented this type of functions for reports etc..pls share your logic and code if any. ...Show All
Windows Forms shrinking menu width when rendermode = system
If you set the rendermode for a menu to anything but system you get the blue vertical strip on the left side running from the top to the bottom. If you set the rendermode to system, it disappears but you still have the entire width where the strip was on the menu. How do you get rid of this margin I don't want the strip but without it it makes the menu too wide and ugly. I see no obvious way to remove this. Go with the flow and try to find some images to fill up this space. You can find a bunch of pre-made ones in a .zip archive in the Common7\VS2005ImageLibrary subfolder of the installation directory. ...Show All
Visual C# Disappearing data after using a backgroundworker
Whenever I place a databound DGV or combobox and try to datafill in a backgroundworker, no data appears even after the bgworker completes. Yet data in these controls appear fine when used without the bgworker... What am I missing private void MybackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { this.MyTableAdapter.Fill(this.MyDataSet.MyTable); } private void MybackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { this.MyDGV.DataSource = this.MyTableBindingSource; } ...Show All
.NET Development Detecting a router's external IP
Hello everybody, I'm just getting started in the realm of networking w/ the .NET framework. I'm coding my app in C#, it's just a simple command line server that will listen for commands from an external client. Right now, I'm just trying to get the server, when started, to print out the local machine's IP. However, I want it to print out the address as seen by computers not on my network. So, instead of 192.168.1.XXX, I want it to give me what a website like http://whatismyipaddress.com/ would return. Thanks in advance! Hi this is a easy way string ip = new WebClient ().DownloadString( http://www.whatismyip.com/automation/n09230945.asp ); ...Show All
Visual C# User Control Parameters
Hi, i want to build a user control for "Menu Navigation Bar". The parameters for the User control should be in a form of item list. For exsample : <menuitem text="About" address="about.aspx"> <menuitem text="Contact US" address="contact.aspx"> ...etc ho do i expose such Parameters in the user control Thanks Basically, you just create public properties: private string _text; public string text { get { return _text; } set { _text = value; } } private string _address public string address { get { return _address; } set { _address = value; } } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Issue with XNA Tutorial and scrolling backgrounds
Greetings, I followed the second XNA tutorial, and got to creating a scrolling background for the space ship program. My problem is that as soon as I added the code from the tutorial for the scrolling background, the space ship became somewhat transparent, meaning that I am not seeing it like a solid rather a sum total of spheres and other geometries. For example, I can now see the 4 spheres on the surface of the ship in their entirety, and also the scrolling background behind it. Can someone help me out here Thanks! http://msdn2.microsoft.com/en-us/library/16ed4c9-d98b-ff53-8f5c-ab2e6a4d5daf.aspx This is referenced in the first 3D tutorial in the XNA Getting Started Tutorial. ...Show All
SQL Server Login failed for give user id
I tried to create a mining model from a remote SQL 2000 database using local user id of remote server. Whenver I try to process the model I am getting login failed error. But the same model runs fine when I configure datasource using windows credentials. I found answer myself. I just created a local user and a role in analysis service database mapping to local user and granted him appropriate rights. Now I can process the data model under "impersonate particular user mode" ...Show All
Visual C# Active scripting and webservices
Hi all, I've been tasked with writing a c# application and finding a way to execute a script via a webservice using active scripting! i.e. we currently have script files (using javascript) that call custom functions found in a COM object. What we're looking to do is to do the same thing but instead of using a COM object, we'd like to use a WebService. Is this at all possible I suppose since everything in it's basic form is an object that it could be...but then I could be wrong! Any information, or recommendations would be greatly appreciated. Regards, Rowan. This article might help http://msdn2.microsoft.com/en-us/library/ms996450.aspx ...Show All
Software Development for Windows Vista Windows Workflow Foundation - Install Problems?
Hi, I have installed .NET 3.0, I have downloaded “Orcas” Development Tools for for .NET Framework 3.0 I have then downloaded samples from below site. http://wf.netfx3.com/content/WelcometoNetFx3.aspx When it try to open any Solution file I get a message stating "The application for project C:\MyWorkflow.csproj" is not installed. Make sure the application for the project type (.csproj) is installed." Any ideas why I get this. On my machine I also have NET 1.1, .NET 2.0, Visual Studio 2003 and Visual Studio 2005 installed. Please help! You need to install the Visual Studio Extensions for Windows Workflow Foundation. The version you need to install depends on the version of the .NET Framework 3.0 t ...Show All
Windows Live Developer Forums Custom Navigation
I love this stuff.. I'm using: <a href='javascript:map.ZoomIn();'>Zoom In</a> | <a href='javascript:map.ZoomOut();'>Zoom Out</a><br /> <INPUT id="pan" type="button" value="UP LEFT" name="pan" onclick="map.Pan(-900,-600);"> <INPUT id="pan" type="button" value="UP" name="pan" onclick="move();"> <INPUT id="pan" type="button" value="UP RIGHT" name="pan" onclick="map.Pan(900,-600);"><br /> <INPUT id="pan" type="button" value="LEFT" name="pan" onclick="map.Pan(-900,0);"> < ...Show All
Visual Studio Express Editions Manual Update
anyone got any example code on manually uodating your application without using the clickonce upload installer, this would help me out alot. yeah I did read that thread lol. Renee how do you do, could you help I did try sharewarestarterkit but It wouldn't configure for me. ...Show All
Software Development for Windows Vista Using a Workflow by a Windows and a Web Application at the same time
Hi Everybody, I just saw many Web Casts about WWF and I'm wondering is it possible to start the first activity of a Workflow by a Windows Application then doing the second Activity by a Web Application. I think it is not possible in the case where both Windows and Web applications must share the Same Workflow instance. Mybe there is a possibility to do that by using a Web Service by instantiating the Workflow on it then pass the reference of the Workfow by a Web Method. Thanks For Help. Hi, it's me again !! As I said, I want to rewrite the Expense Workflow but I'm blocked here ([System.IO.FileNotFoundException] = {"Could not load file or assembly 'ExpenseWorkflow' or one of its ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The XNA Framework and DirectX
Hi! Do I need to at any time learn DirectX when working with the XNA Framework In other words does the XNA Framework provide everything that DirectX provides, but without writing a single line of DirectX code Thanks, O. Thanks for the fast reply. I think I'm happy about the answers. I'm very interested in the XNA and want to try it out, but I haven't written a single line of C# code. So I got my first C# book today. Something to read during Christmas. ;) After that I'll see if the hype around XNA is real, at least for me. At the minimum I've learned something of a new language for me. O. ...Show All
Visual Basic Visual basic 6.0 Runtime error
Hi All, In my VB 6.0 application when i want to save the changes in EXE then suddenly iam getting below error. "The instruction at "0x182eefb2" referenced memory at "0xfffffffff", the memory could not be read" error."Click on OK to terminate the program" message is displaying after clicking on the OK button it is displaying one more message "The instruction at "0x01ee86e3" referenced memory at "0x8c000869", the memory could not be "written".Click on ok to terminate the program" message is dispaling if click on OK means then application is crashing. Please give me the urgent replay because our project is in production phase. Thanks&Regards, Ammireddy ...Show All
SQL Server SMO Weirdness on SQLExpress box
so i created a SMO console app (.exe) that backs up all user databases. we scheduled it via windows scheduler and life was good... THEN we had to migrate our sqlexpress instance to a different server and this ofcourse included migrating the SMO scripts I had written. The scheduled task keeps failing and the eventlog is recording events in the appLog. I noticed that in the GAC the SMO assemblies are present but i dont see the ProgFiles\sql server\90\sdk\assemblies directory where I thought the dll's physically resided at. Also I installed vb2005 express edtiion on the box and it does not "see" the SMO libraries via an add reference operation. The other intesting thing is this new box has the RTM of Mgmt. Studio Express and it runs just f ...Show All
