Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

superselector

@superselector
About
Posts
44
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error while connecting to net connection in remote windows
    S superselector

    Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again I am running Net use * /delete /y also but still I am getting this error whenever I use a different user than previous user background:- Actually I am trying to excute a command in remote computer and read the command output from a text file. for that I am using wsnet connection by establishing a connection and through unc path \\10.210.1.1\C$:\output.txt , I am reading the output back. and then disconnecting the connection ... even if the connection is not properly closed, I am making sure to execute Net use * /delete /y command in my local system to delete all the existing connection on , but even after doing this if I use a different user I get this exception while connecting using WSNET in C# Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again

    C# csharp sysadmin help learning

  • How to remove escape sequece from string while telnet to HP procurve devices
    S superselector

    Thanks.... Its working :)

    C# com help tutorial question

  • How to remove escape sequece from string while telnet to HP procurve devices
    S superselector

    I am trying to telnet a HProCurve J9279A Switch but i am getting some unknown characters in the login prompt when i am writing the response in text file . Please let me know how to handle this and remove these junk characters from string . I can say these are some escape sequense which in not recognized by string . Please register your products now at: www.ProCurve.com Username: [?25h[?25h[?25h Please help to remove thse unknown characters in above strings and command outputs. any help will be appreciated...

    C# com help tutorial question

  • Need help for perform some operation parallely
    S superselector

    can we do it using Thread class

    C# help performance

  • Need help for perform some operation parallely
    S superselector

    I have one requirement , I have a gridview where i will load details of some ip address with its credential. Currently i will perform task related to ip adresses one by one. but now we have a requirement to speed up the process. Now i want to do the task parallely. I can use multithreading and start the threads and join them but the issue is i want to process only 2 set of ip i.e threads at one given point of time.So once these two threads complete the next set of two ips from gridview should be processed parallely.is it possible using multithreading .

    C# help performance

  • How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard
    S superselector

    Thanks but where i can use this switch

    Visual Basic tools question

  • How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard
    S superselector

    hi I have developed a vbs file which will execute some commands in command prompt and store its output in a text file in same directory where script is run. Now i have converted this vbs file to exe using iexpress wizard by windows. but when i execute the its run in TEMP folder and does not create any text file out . is there any workaround for it to behave same as vbs file when the exe is run.

    Visual Basic tools question

  • Need help .....
    S superselector

    Hi i have implemented the same in vbscript . i was aware of the batch file concept but wanted to configure the commands in the code itself using Process class in C#.as i don't want it in batch .. thanks for your suggestion though.

    C# csharp help

  • Need help .....
    S superselector

    I have following requirement to develop in C# Open command prompt i.e. invoke cmd.exe run cd/ command run command1 run coomand2 run command 3 run exit command I need to save the output of the command1 , command2 and command3 in the same text file. Please provide a sample code to execute multiple commands one by one and save output to same text file

    C# csharp help

  • How to perform file transfer using SFTP using Genymed SSH2 dll in dot net
    S superselector

    I need a sample code to do an upload and download file from local machine to remote server using sftp or scp in genymed SSH2 . I am getting an exception "Cannot access a closed stream" while trying below code at get file method call, Connection is getting established successfully. SCPClient Obj_SCP = new SCPClient(Obj_Conn); Obj_SCP.getFile(remotepath,localpath); Obj_Conn.close();

    C# sysadmin tutorial

  • how to run commands in command prompt in remote computer and save output in local file
    S superselector

    can i execute command in a windows box remotely over internet and get its output provided i have full details of credential required to connect to the remote machine. Through PSexec i am able excute command in remote machine in the LAN /intranet and get output in my local machine in a text file but will it be possible to get the same details if the remote machine is connected in Internet.

    C# tutorial

  • how to run commands in command prompt in remote computer and save output in local file
    S superselector

    can psexec work for machines not in domain.

    C# tutorial

  • how to run commands in command prompt in remote computer and save output in local file
    S superselector

    i have already mentioned wmi is not an option.

    C# tutorial

  • how to run commands in command prompt in remote computer and save output in local file
    S superselector

    I want to run a command in remote computer command prompt and fetch command output of the remote computer and save the output in local system. i don't want to use WMI for this as wmi is not enabled in the remote computer.

    C# tutorial

  • Issue with Excel vesion in C#
    S superselector

    which office version i should add to C# application as reference to work with excel 2007 and higher keeping the excel 2007 to be installed as prerequisite to run the application.

    C# csharp com help question announcement

  • Issue with Excel vesion in C#
    S superselector

    Hi , I have a windows application developed in dot net 3.5 framework where i am importing and exporting data to excel.I am using Microsoft Office interop excel and have added the version 14.0 as reference to my application. When i run this application on a machine having Office 2007 ( version 12.0) my application does not work. My question is why is it having this issue and why am i getting an exception 14.0 could not loaded

    C# csharp com help question announcement

  • datatable . help needed
    S superselector

    i have a datatable with 3 columns Class, Student details, School Name DataTable dt = new DataTable(); dt.Columns.Add("Class", typeof(System.String)); dt.Columns.Add("Student Details", typeof(System.String)); dt.Columns.Add("School Name", typeof(System.String)); dt.Rows.Add("12", "binod 16 Maths","X"); dt.Rows.Add("12", "Alex 17 History", "Y"); dt.Rows.Add("12", "Sam 18 Biology", "Z"); I want to convert this datatable into this below new datatable where i have splitted the "Student Deatils" column into 3 columns and added the values of this column separted by space in new columsn dtNew.Columns.Add("Class", typeof(System.String)); dtNew.Columns.Add("Name", typeof(System.String)); dtNew.Columns.Add("Age", typeof(System.String)); dtNew.Columns.Add("Subject", typeof(System.String)); dtNew.Columns.Add("School Name", typeof(System.String)); Class Name Age Subject School Name 12 binod 16 maths X 12 Alex 17 History Y 12 Sam 18 Biology Z

    C# help

  • how to get the manufacturer details of windows server using SNMP
    S superselector

    is it feasible to get these details in UNIX or WINDOWS servers using SNMP.

    Hardware & Devices sysadmin windows-admin tutorial

  • How to Set the column of excel as bold while importing from datatable
    S superselector

    Actually i want to get the range of excel and set it colour and font currently i am doing like this Microsoft.Office.Interop.Excel.Range last = excelApp.Cells.SpecialCells(Microsoft.Office.Interop.Excel.XlCellType.xlCellTypeLastCell, Type.Missing); Microsoft.Office.Interop.Excel.Range range = excelApp.get_Range("A1", last); range.Font.Bold = true; range.Font.Size = 12; range.Font.Color = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.White); range.Cells.Interior.Color = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.SteelBlue); but it actually set the colour of all the rows , i just want to do it for first row which is my column header

    C# help tutorial

  • How to Set the column of excel as bold while importing from datatable
    S superselector

    I am exporting a datatable to EXCEL . i want to set the font of excel columns as bold and some colour. i was using something like Excel.Application Obj_Excel_App = new Excel.ApplicationClass(); Excel.Workbook Obj_Excel_ExcelWork = Obj_Excel_App.Workbooks.Add(Type.Missing); Excel.Range obj_Range; obj_Range = Obj_Excel_App.get_Range("A1", "E1"); obj_Range.Font.Bold = true; but here i have to hardcode the range , i dont want to do that.plz help

    C# help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups