15,888,590 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 vicvis (Top 41 by date)
vicvis
17-Jul-15 11:44am
View
It was an interview question
vicvis
6-Jul-15 2:35am
View
Sir.I want to do ths iteration from Client Side.I have delete code in aspx.cs (which I havenot provided as not relevant and code will become cumbersome her.If you wantI can add that too
vicvis
18-Dec-14 5:21am
View
Deleted
I tried this but this doesnt work in window service.I used:
strDir = ConfigurationManager.AppSettings["Directory"];
fileMask = ConfigurationManager.AppSettings["FileMask"];
strBatfile = ConfigurationManager.AppSettings["Batch"];
strlog = ConfigurationManager.AppSettings["Log"];
But that doesnt work.Also while release mode,App config gets removed.
Any suggestion.Appologies if I am wrong in understanding
though putting an XML file and retreiving data works in this case but that also gets removed while release mode
vicvis
15-Dec-14 7:57am
View
U mean to say that i should write a console/window form and create a text/excel/xml file and then let my win service look for input at OnStart() method.Am i right?Appolozies if i am wrong in understanding.
i thought to use onstart(string args[])(something like args[0[] and args[1]).. .any suggestin regarding that and which one should I prefer.??
vicvis
27-Aug-14 3:03am
View
Thanks a lot
vicvis
26-Aug-14 12:02pm
View
ohk..thanks alot.I asked him,he wants a log file.is any .net framwork lib is available .I though of using NLog for same.Any comments?
vicvis
26-Aug-14 11:13am
View
actually time constraints with him and me also.I have written working code but need to modify if possible within time frame. unfortunately 1 day itself.
vicvis
1-Jul-14 10:05am
View
Thanks a lot
vicvis
1-Jul-14 9:55am
View
Thanks sir.
vicvis
26-Jun-14 6:13am
View
I Got it.complete code :@echo off
FOR /F "usebackq delims=" %%a IN (`C:\Users\u316383\Documents\ReturnFileName.exe "C:\Users\u316383\Documents" "1232" "19901212"`) DO SET DATEVAR3000=%%a
ECHO DATEVAR3000 is %DATEVAR3000%
@Wait 15.Thanks all for help.
vicvis
25-Jun-14 11:22am
View
I appolozise for adding another problem.Now my code is working correctly but if exception comes in the program,DATEVAR3000 is only showing last few lines of exception and not all.Is there any limit of data that can be returned?
vicvis
24-Jun-14 11:32am
View
I Got it.complete code :@echo off
FOR /F "usebackq delims=" %%a IN (`C:\Users\u316383\Documents\ReturnFileName.exe "C:\Users\u316383\Documents" "1232" "19901212"`) DO SET DATEVAR3000=%%a
ECHO DATEVAR3000 is %DATEVAR3000%
@Wait 15.Thanks all for help.
vicvis
24-Jun-14 11:07am
View
Thanks for the suggestion>I tried and code is working without arguement.the correct code is :
@echo off
FOR /F "usebackq delims=" %%a IN (`C:\Users\u316383\Documents\ReturnFileName.exe`) DO SET DATEVAR3000=%%a
ECHO DATEVAR3000 is %DATEVAR3000%
@Wait 15
but how to pass arguement in this?
vicvis
23-Jun-14 13:28pm
View
I tried as per your suggestion but still it is not displaying(using echo command).
for /F "usebackq delims=" %%a in (`"C:\Users\u316383\Documents\Backup Files\ConsoleApplication3.exe"`) do set datayyyymmdd=%%a.
Any help will be appreciated.
Thanks in advance
vicvis
23-Jun-14 13:12pm
View
actually I want to take string output generated in a c# programas a variable so that can be use in another program via batch file
vicvis
23-Jun-14 10:04am
View
sir i tried but still,no result.Following is my sample code._:@echo off for /F "delims=" %%a in (C:\Users\u316383\Documents\Backup\ConsoleApplication3.exe) do set datayyyymmdd=%%a. ECHO datayyyymmdd. @wait 15:and simple code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication3 { class Program{ static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
vicvis
20-Jun-14 10:58am
View
Thanks Sir,
But does the below code make any sense to you.it was given to me as a sample by my senior.Since I am novice in batch file,its bit confusing to me.
I write out the the stdout my value and in the bat file.
@echo off & setLocal EnableDELAYedeXpansion
for /f "tokens=* delims= " %%a in ('FileDateCrtBDM.exe') do (
set varjp=%%a
)
echo myvar: %varjp%
vicvis
20-Jun-14 10:33am
View
Thanks for your reply Sir,but my requirement is to use something like "
Set var1=[call abc.exe.exe “E:\\flags\\reportVersions” “x” “y”"[abc is my c# program with x and y as input arguemenment.
I would have called another c3 but my requirement passed to me by my architect ask me to do my work in the prescribed format.
Any help will be appreciated.
vicvis
20-Jun-14 10:30am
View
I am comfortable with .net part ..but have no idea how to pass date to calling batch file.
writting this in batch file SET date = %errorlevel% will give errorlevel not date.
Appolozies if I am wrong in underatanding..
vicvis
8-Apr-14 10:25am
View
Thanks a lot.
vicvis
1-Apr-14 4:41am
View
Thanks for your reply.What you mean to say is taht I should write a window service in .net and ping database from it constantly?but wont that cause much CPU utilization.
I am sorry to ask this as windaow service is not my area of work and i am not preety sure of what CPU will it have.
vicvis
24-Jan-14 6:50am
View
I understood what you are saying and i probabbly got the direction to think upon.Actually this was a sample code.My basic problem was that I am getting an XML from a third party but i need to change its format as all attribute in the incoming XML need to be converted as XML Elements.Also,I need to remove few attributes and few elements need to be added in XML.I was thinking to go by serialisation or XSLT but not preety sure if that could work.
But Thanks a lot,I think I can use your advice and by some modification,could try to find solution.
Thanks
vicvis
26-Feb-13 12:41pm
View
Actually my whole formatting get distorted once i change size of Browser window .Everything gets correct formatting when browser window is maximized to Full screen.
vicvis
25-Feb-13 16:47pm
View
Apppologies.By mistake,did this
vicvis
25-Feb-13 15:08pm
View
Deleted
Got it.I don`t know how.i closed the application and when i started again,issue was resolved.
Well thanks :)
vicvis
24-Feb-13 13:29pm
View
Great Thanks.
But does master page has any role in this??
Because my master page is not scrollable.
vicvis
13-Jan-13 8:53am
View
Thanks for your answer and guiding to right direction.I think i must study new a bit more about new operator.
vicvis
13-Jan-13 8:52am
View
Thanks a lot.I thought new is always used for reference type.I think i must study new a bit more about new operator.
Thanks for your answer and guiding to right direction.
vicvis
4-Oct-12 2:26am
View
Thanks for the comment.Actually my motive is to understand "why we provide endpoints under client tag"?
vicvis
2-Oct-12 23:02pm
View
Deleted
So,if i have given endpoint "http:\abc\serv1" in service config and in same config i have given endpoint address="http:\abc\xyz\serv1" under "client " tag,
Which endpoint will be used by client to calll service???
Appoloxies,If it is too basic question to ask.
vicvis
2-Oct-12 12:24pm
View
I am still unable to understand why we define client endpoints in our service config.
I understand what are endpoints on service side but defining endpoints under <client> tag is my question???Can somebody please throw light on this.Thanks in advance
vicvis
28-Sep-12 9:23am
View
I have changed my App.config and problem was resolved.
However one question is still in my mind.....What happens and restriction i will face in case Metadata Endpoints are not provided by me.
vicvis
13-Sep-12 13:23pm
View
N thanks for you time...i got my solution.
vicvis
13-Sep-12 13:20pm
View
Hi sry for delai in reply.Was not Well for long.
Well file save dialog box is nyc option but can it be restrivted to only .csv extension??
vicvis
13-Sep-12 13:20pm
View
Hi sry for delay in reply.Was not Well for long.
Well file save dialog box is nice option but can it be restrivted to only .csv extension??
vicvis
6-Sep-12 13:15pm
View
oh...missed that.thanks a lot
vicvis
6-Jul-12 5:24am
View
Thanks for the answer.But i still do not understand AJAX Server Control.In you answer,i got glimse of what is AJAX extender,but could not understand AJAX server control.why do we use it when we have AJAX toolkit.....
Reply is appreciated
vicvis
5-Jul-12 15:28pm
View
i got it solved now by making some changes but my application is working with application_authenticaterequest and not working with "FormsAuthentication_OnAuthenticate".
well it solved my purpose for time being...appreciate your help..
vicvis
27-Jun-12 12:26pm
View
I figured that my Global.aspx was not been called.But now i have another problem.As global.aspx is called when application starts,so it do not find any roles(Its obvious as uptil now user have not been to Login page).Now user is redirected to Login Page.After Filling credential as "admin",user is not redirected to Secure page because roles are derived in global.aspx which will now not be called as it is only called at begining of application.
I am bit confused!!shall i explicetely called "Application_AuthenticateRequest",then what will be the use of Global.aspx
vicvis
27-Jun-12 9:15am
View
Hope u r right but i tried all your point.I must be missing something really critical.And it is context.user as e.user is not coming as an option.
Well i will try in some other way.
Thanks
vicvis
27-Jun-12 8:25am
View
Thanks for your help..but i am unable to figure out the problem.
can it be because of encryption??
Appreciate your help
Show More