Danawar's Q&A profile
Visual C# DLL and Namespace question
I am trying to publish a (my very first) dll for one of my C# applications and am a bit confused about the need for my customers to include MY namespace in their applications. Specifically, when I developed my dll (project output = class library) I generated a namespace called "mynamespace". So, when one of my customers uses my dll, would the customer need to rename his namespace "mynamespace" to access the methods in the dll I ask this because I have tried creating a test project that includes my.dll in its references folder. However, unless I change my test.cs program's namepace to "mynamespace" I cannot access the methods inside the dll. I have also tried "using mynamespace" but cannot access the dll. Can someone enlig ...Show All
.NET Development .NET Socket implementation
Hi, I'm new to asp.net web application and also socket programming. I need help on socket programming. I want to create a asp.net web application page that can connect to the server using socket and for the data access part I need to use xml for communication between the server and the client applcation. The server connect to three databases and it acts as a middle man between the client and the database. The server is a program written in java. How am I suppose to do the socket programming inside my web application. Can anyone help me with that I really need help... As I can't find any good example on socket programming. Please help... Snow This MSDN page has good samples to get you started: ...Show All
.NET Development localhost problem
hello ppl, whenever i try to run ASP.net ( new project -> C#->asp.net web application) , every time i get the following message : web site "http:\\localhost\webapplication1" not started on this web server pls help me, what to do i am using VS 2003, Windows 2000 Verify that the Web site is running. For more information about stopping and starting Internet Information Services (IIS), see the Internet Information Services documentation. See also http://msdn2.microsoft.com/en-us/library/ms946384.aspx Thanks, elena ...Show All
Visual Studio Team System How the web test plugin works
Hi, I have two web tests and both of them use the same web test plug in which gets the recordnumbers from local database table. I am using a select statement in the webtest plugin for data binding. Both the web tests use the same plugin. I get the recordnumbers from the select statement in the plugin. For example, the select statement returns record numbers A, B, C and D. So when do loadtest with both the web tests, i think each of the web tests work on A, B, C and D. Is that true If so, how can I make the web tests work on mutually exclusive data. i.e I want webtest1 to work on A and B and webtest 2 to work on C and D. How to achieve this Are there any resources on how the web test plugin work Thanks., ...Show All
SQL Server Need help with a view ...
I’m trying to create a Student Master view for reporting purposes. declare @date smalldatetime set @date = getdate() SELECT studemo.suniq AS suniq, studemo.ssid AS ssid, studemo.ident AS ident, studemo.lastname AS lastname, studemo.firstname AS firstname, studemo.middlename AS middlename, studemo.birthdate AS birthdate, track.schoolc AS schoolc, track.schyear, studemo.lastname, studemo.firstname, studemo.middlename, studemo.genderc AS gender, primlangc AS [Native Lang], homelangc AS [Parent Lang], stustat.graden AS graden, stustat.stustatc AS stustatc, zstustat.descript AS status, studemo.ethnicc AS ethnicc, lep, spec_ed, low_income, facdemo.lastname AS advisor_last, facdemo.firstname AS advisor_first, stustat.funiq AS funiq, @date AS [Lo ...Show All
Visual Basic Getting Data into msChart
I was wondering if anyone can help with this I am trying to display a scatter graph using Mschart to show Date of test and result. With date as the X axis and the Test result as the Y. I have place the mschart object onto the form but i am finsing it hard to populate it with data. I have tried extracting the data from the database and placing it into an array which is then passed to the chart object but i am unable to diaplay the graph. Any help would be appreciated with regards getting data from the database into the graph. Thanks for your assistance Ade Using visual basic express it appears to be .column = 1 .c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple BreakOut Demo (Source included)
Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. Nicely Done! I believe that this is the best XNA game in the history of mankind!!! ...the only bad thing about that is someone else will take that title in a day or 2. :) ...Show All
SQL Server Like Problem
I am attempting a migration to RS 2005. I restored the ReportServer and tempdb databases over to the new server. The config manager says the ReportService service is running. When I try to view the reports in a browser I get a report server is not responding error. Thanks Richard I have no idea what RS is, but I know it's preventing me from installing CRM 3.0. When I attempt to load http:\\localserver\reportserver I get the following error. Reporting Services Error -------------------------------------------------------------------------------- The Report Server Windows service 'ReportServer' is not running. The service must be running to use Report Server. (rsReportServerServiceUnavail ...Show All
Gadgets Example installation on local PC
I can’t to install and view the gadget examples in live.com My steps are: Click on Add Gadgets Click on Advanced In the URL I've inserted http://localhost/HelloWorldGadget/HelloWorldGadget.xml I click on the "install" button but in the gadget area I obtain: There was an error loading the Gadget's resources. Where is the problem Thanks hi sarah, you have to upload first your files on your web server. (html, js, xml, jpg or gif......) then you pick the URL of your xml file from your web server On your live com page ( http://www.live.com/ ) choice "add a contain", and on the second input box (add a url of the rss feed), just paste your xml url. then click on the add button, an ...Show All
.NET Development How can i include other aspx files into my current apsx file
i want to include already build aspx file into my current apsx file, how can i do this. in simple asp, i have done it using directives. can any one tell me the exact syntax of including other files. Can this method be used for integrating aspx into classic asp. With Classic asp we usr the #include,. I have some classic Asp prgs that I want to use and include aspx into. ...Show All
Software Development for Windows Vista Labs\Lab01\Resources
I am using Beta2. I am new to WorkFlow. While tring to run Labs\Lab01\Resources\ExpenseReporting Sample I get Error. The Error is "No connection could be made because the target machine actively refused it." Please help me How i solve it. vijil Bangalore. Vijil, Maybe I'm wrong but I think I got an error like that when I was trying the ExpenseReporting solution as well and it was because I had forgotten to run the ExpenseWorkflows project, so when the reporting apps try to connect to the workflow they're unable to. So just run the workflow project before running the applications in ExpenseReporting. Hope this solves your problem. Ruben ...Show All
Windows Live Developer Forums Getting the tic tac toe example
Where do I get the entire Tic Tac Toe example mentioned in the SDK TIA J-Thread wrote: And here you go. I haven't got a good server to host it on at the moment, so if somebody would be so kind as to place the file on his website and post the link here This link is again a temporal one, so you must download it within 7 days... Hi, the link You have posted has expired again! Is there any chance you can share it again for me too or EMail to me( xjluo@126.com ) thanks! ...Show All
Internet Explorer Development XML DOM using JavaScript
Hi everybody how r u Actually i am really in big trouble for very small problem i guess. I am manipulating a xml file using xml dom using javascript, after manipulating the dom tree internally, when i tried to save the file i am getting "permission denied" error. I have tried saving file locally as well remotely. since my code is little big, i am giving u a dummy example. var xmlDoc1 = new ActiveXObject("Msxml2.DOMDocument.4.0"); var str = "<Root></Root>"; xmlDoc1.loadXML(str); var path = "C:\\1.xml"; xmlDoc1.save(path); for this also i am getting error. Thanks a lot. Hi Dig. first of all, i've encountered a similar problem in ...Show All
Windows Forms ListView help
hi I have a ListView setup with items and subitems but i cant get it to do anything when i click on it I have looked through the MSDN library and found nothing that can help. The view mode set as Detail so that i can see all the contents but i wanted a messageBox to appear when i click on an item in the list. can anyone plz help. thanks Hi, They're seperate files. .pdb means program debug database. If you compile the project in the debug mode, then it'll be generated. .dll is dynamic link file. It is mainly used as the auxiliary file, to provide services for other programs. You can have a look at the assembly options. e.g. /debug [= IMPL | OPT ] Includes debug information (local variable and argume ...Show All
Visual Studio Team System Merge/Checkout scenario
If say we have a version of a file that has come from a nother source location and we simply want to use this version but the version in source control is different and needs to merged with this "loose" file, is it possible to have TFS do a merge on the local file one a checkout Use case: 1. File A.cs is in source control 2. File Aa.cs is modified elsewhere 3 File Aa.cs is copied over A.cs locallly 4. File A.cs is merged into Aa.cs in place... Is this possible Basically, I want to force a Conflict Resolution so that changes in the source files can be merged... Like Michal said, the file needs to be read-write. Rough procedure: copy /y Aa.cs a.cs attrib a.cs –r tf get a.cs ...Show All
