15,896,453 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mohit`12 (Top 32 by date)
mohit`12
15-Jul-11 13:30pm
View
Okay i Got that part working now i have another problem that is whenever client calls service i need to read data from client's page(textboxes) and store them on server side as text file or xml file is that possible. because i beleive isolatestorage is for client side that is not gonna work for me , i tried filestream that doesn't work so is there anyway to create file and write data into it in silverlight serverside.
thanks
mohit`12
14-Jul-11 10:30am
View
i got your point. thanks so what i think i can do is Host service with some kind of GUI that will be run whenever you host the service and whenever a client makes a call to server that GUI will send message to Windows ( that's server) and yes i meant i was doing client to client communication using server so server gets message then looks for client and forwards message to other client but i guess i do not need that anymore. so i was wondering how would i know when client calls the service i meant in GUI is there any method that informs you if client made call.
Thanks
mohit`12
7-Jul-11 20:14pm
View
well you wont be able to open it since it's hosted for local server only . so and yeah i will try to open service for that ip adress. and do u think that my app.config is written correct ?
Btw thanks a lot for help
mohit`12
7-Jul-11 16:52pm
View
i have add my app.config .. let me know if i am doing anything wrong because it still doesn't work.
mohit`12
7-Jul-11 16:39pm
View
please see the solution i submitted below for my web.config file thanks
mohit`12
7-Jul-11 16:37pm
View
Deleted
that make sense but i messed up with my web.config alot Now i have no idea what went wrong there! although i had no endpoint my service on localhost was still working.
Web.config
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetframework="4.0">
<system.servicemodel>
<client>
<endpoint name="Service1" address="http://ip/Website/Service1" binding="basicHttpBinding" bindingconfiguration="Service1Binding" contract="Service1">
<behaviors>
<servicebehaviors>
<behavior name="">
<servicemetadata httpgetenabled="true">
<servicedebug includeexceptiondetailinfaults="false">
<servicehostingenvironment multiplesitebindingsenabled="true">
mohit`12
9-May-11 10:57am
View
yeah i found out how recording macro works but word doesn't do that job with their own functionality so i had to write a small piece of code for that function. Hittign END key takes cursor to end of that paragraph in my case i will have 1000 page and user will be editing any page but when user receives new data it has to go at the last line: P anyways thx i got to learn something new frm you ..
mohit`12
9-May-11 10:55am
View
awesome works like charm thx alot..and another question if u know when i open word app from c# it hides under my c# application/form. any way to call that window on top or onfront...
thanks alot..
mohit`12
6-May-11 9:23am
View
I Exactly do not know how word does that job otherwise i would have recorded MACRO.there's sure some function or piece of code in c#/C++/VB that does this job easily just need to findout what is it.. thx
mohit`12
11-Apr-11 13:48pm
View
that's exactly where my problem comes. User will have my application open which generates some microsoft word documents and excel sheets and then user will be printing those ONLY. so i donot want them to save them all bcz after printout files are useless for them also if they want to save it they will need proper name to save with. ( so i was trying to give those files proper name but since you said it's not possible without saving file) and now when user wants to generated next files means another files to print at that time all the old files has to be closed and word will be opening new application so WORD.EXE will open new instance in task manager and i m telling you i will be opening new application 100 times in hour so they will have 100 WORD.EXE instance in task manager.so what i am thinking to do is whenever they try to generate new files all the old files close without saving also it kills the word.exe instance but if they have another word file open outside from my application they do not have to be killed ( SO THAT's where i m stuck rightnow)
any idea or help would be much much appreciated. and i hope you understand my question :)
mohit`12
11-Apr-11 13:18pm
View
i was just looking for any other way of changing name like without saving document since i do not want my clients to save all the unrequired files that i open.since i just want to open documents print them. well i have one more question. When i open new word application or excel application . app = new MyWord.Application(); then is there any way i can quit/kill/close that if they are still open and also i will have to stop that process from task manager but i do not want to kill any other word files that are not related to this software so i just cannot killprocess(WORD.EXE) . thanks for your help.
mohit`12
11-Apr-11 13:09pm
View
Okay thanks :)
mohit`12
11-Apr-11 13:09pm
View
okay thanks i was just looking for any other way of changing name without saving since i do not want my clients to save all files that i open. i have one more question. When i open new word application. app = new MyWord.Application(); then is there any way i can quit that if they are still open and also i will have to stop that process from task manager but i do not want to kill any other word files that are not related to this software so i just cannot killprocess(WORD.EXE) . thanks for your help.
mohit`12
11-Apr-11 10:52am
View
woops! my bad it was TYPO i meant word document names.
mohit`12
11-Apr-11 10:52am
View
Woops ! sorry it was TYPO i meant word documents name.
mohit`12
18-Mar-11 8:57am
View
i already tried that i am able to run service and also able to access website from client computer the main problem comes when i try to modify database maybe there is some permission problem or i am missing something that would be great if you can provide me some kind of code example of make a small project of web project which can be deployed on LAN.
thanks for your time regards,
M
mohit`12
17-Mar-11 9:12am
View
thanks but i was looking for Microsoft.Office.Interop.Word; i know how to add sheet name in excel.
if you know how to exact same thing for Microsoft word let me know thanks
mohit`12
16-Mar-11 16:05pm
View
i was also wondering if you know how can you change name of your document when i tried sheet.name="BB" it says document is readonly cannot change name. :/
mohit`12
16-Mar-11 15:46pm
View
thanks alot that solved my problem in seconds.. :D thanks again
Cheers
mohit`12
16-Mar-11 15:04pm
View
i already changed my endpoint to localhost/Web1/webService.svc since it's hosted from IIS and it's under Web1
mohit`12
16-Mar-11 13:49pm
View
thanks a lot and yes i do have clientaccesspolicy.xml and cross-domain access ..
mohit`12
16-Mar-11 13:26pm
View
Deleted
deployed my web application to C:\Inetpub\wwwroot and then added it under web2 in IIS .
and changed endpoint like this
<endpoint address="http://localhost:7070/Web2/webService.svc" binding="customBinding">
mohit`12
16-Mar-11 11:57am
View
okay the problem is i am not able to get result WHEN i try to access my website from client computer so i will not be able to track down my exact error neither can use breakpoint everything is working fine in local computer. although i will try try/catch block if it can tell me what exact error is.
mohit`12
16-Mar-11 11:52am
View
Deleted
and changed endpoint like this "
<endpoint address="http://localhost:7070/Web2/webService.svc" binding="customBinding"> "
mohit`12
15-Mar-11 13:09pm
View
thx i will look in to it.(:
mohit`12
15-Mar-11 13:09pm
View
An Exception occurred during the operation, making the result invalid. Check InnerException for exception details. I am getting this error when i try to access my website database from client computer but when i use website database from host machine it doesnot throw this error.
mohit`12
4-Mar-11 14:26pm
View
Deleted
i do have try/catch block but the problem is when i try to access from another computer the database in the other computer has to be updates since that machine is hosting...
mohit`12
10-Feb-11 15:32pm
View
Deleted
Okay Using WCF i have create small database (table) which holds 4 strings name and now since i just wanted to host it over LAN only i added this website to ISS services. everything seems to be working fine since now if i am doing anything on same machine. what i am doing is asking for 4 strings and saves that in table(database) and now if i open same website from another machien over LAN ip:defaultport/appname.html this shows everything but when i hit save it doesnt do anything.
I have also added clientaccesspolicy.
Any ideas or anything are most welcome
Cheers and thanks .
mohit`12
10-Feb-11 15:30pm
View
Deleted
Okay Using WCF i have create small database (table) which holds 4 strings name and now since i just wanted to host it over LAN only i added this website to ISS services. everything seems to be working fine since now if i am doing anything on same machine. what i am doing is asking for 4 strings and saves that in table(database) and now if i open same website from another machien over LAN ip:defaultport/appname.html this shows everything but when i hit save it doesnt do anything.
I have also added clientaccesspolicy.
Any ideas or anything are most welcome
Cheers and thanks .
mohit`12
1-Feb-11 9:32am
View
okay i like this idead, but when i use getcommandline (like this m_lpCmdLine= GetCommandLineW();)
it returns the path of my exe file (like "C:\Documents and Settings\*****\Desktop\Setup_Csb\Debug\Setup.exe" )now when i run this from command line (cmd.exe) and put some arguments let's say setup.exe -console it still doesn't read the arguments .
if you can provide me better explanation or some little example that would be better.
Thank you
mohit`12
18-Nov-10 10:09am
View
thanks i like your idea about rewriting calculator application which supports remoting , now what i am thinking is that i will let my calculator application that connect to this ip address and give controls to that machine to change your settings or something similar like that, well not an easy task but i could start something on it:D
Thanks a lot again,
mohit`12
17-Nov-10 9:29am
View
What I was thinking is something like remote desktop but without showing anything in webpage you connect to other machine using Ip address and get desktop of that and then run the application i want to run in that machine and then i should be able to update values in that application if anything is changed on web page :P
Cheers
Show More