Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

execute dumpbin.exe from C# app

Hello, im trying to call dumpbin.exe from C# app and capture result back in my app for future processing, but im stuck ... :(my attempts:attempt #1:Process.Start(@"C:\Program Files (x86)\Microsoft...

View Article


Exception: No suitable driver found for...

hi I am getting the below error when I try to make a connection to Oracle DBNo suitable driver found for jdbc:product:oracle://mysite:1521;SID=mysid;my code is something like this:Connection conn =...

View Article


How to maintain Login and Logout time in Asp.net ?

How can i maintain the Login and Logout time in Asp.net ? I have store Login and Logout time in the Database..once user is logged in, we will capture the login data..... but the question is logout time...

View Article

Device Drivers

Hello Sir,I am not understanding why Microsoft have not found any solutions to write device drivers in C#.Being i am fan of Microsoft. But they should find some sort of solutions to write device...

View Article

Using Linq with dynamic variable in the "Where" clause for reflection

Hello guys,        How do I insert the following variable which contains the name of a field from my table in the database, in the WHERE clause of linq?string varField= "Field1" var lista =...

View Article


Copy file to network via Service

Hi, I have a small c# program that has to copy files to another computer. When i try this as a program this is working, but when i use it as a service this is not working. Make a copy to the local...

View Article

webbrowser control - check if all frames were loaded (alternative to...

Hello everyone! I am writing a program that navigates through a website containing two frames. I am using WinForms webBrowser control. (I tried using Selenium, but I need the browser to be either...

View Article

Need to stream UDP into Windows Media Foundation

There is a helpful package for WMF use in C# which I am attempting to modify to accept a streaming video over a very local network. This video can be accessed in my tests with VLC, but only via...

View Article


Logic error using foreach data column and data rows in datatable to insert...

foreach (DataColumn dc in dt.Columns) { if (dc.ColumnName.ToString() == "Oracle" || dc.ColumnName.ToString() == "F1") { } else { foreach (DataRow dr in dt.Rows) { insertStatement = insertStatement +...

View Article


Connecting to Web Service deployed in JBoss through C#.net

HiI have a task of invoking a web service generated in SAS and deployed in JBOSS. It accepts two parameters. It also needs to be passed with an XML File Stream which the Web Service consumes and...

View Article

Open Excel Workbook & Cycle Sheets

I want to open a workbook and cycle through the sheets in the workbook.  Below is what I am trying, but it gives me an error of Object not set to an instance ofa n objetExcel.Application oXL;...

View Article

C# for partial hard real-time application

Is a thread/process with highest priority a real time one?I am new to programming.It is believed C# and Windows are not suitable for hard real time application.I am trying to find a method to use C#...

View Article

AutoFill in HTML TextBox without using Form

My issue is, html textbox's has to autofill (by browser). Most of the web search gives solution using form field. But I have jQuery submission and call services, so I don't have possibility to use...

View Article


Another control is blocking the control. Please make the blocked control...

I am trying to click on a Hyperlink in div tag , but I keep getting this error message:Another control is blocking the control. Please make the blocked control visible and retry the action.What could...

View Article

C# interview questions

Dears, I have an interview  in a software company .  so could anyone tell me a site which has mutiple choices questions about C#.net ????  I need a good mutiple choices questions .   thanks hema

View Article


Fatch Software Inventory through WMI Connection

Hello All,I want to fetch Software inventory List from SCCM server using WMI Connection.Can any share it with me how can i do this ?Regards, Ashish Patel

View Article

cmd.exe does not wait for process to complete when using C# winform app with...

Hello,        I have created winform app in C#.net, later I added commandline arguments for it. While running program from cmd.exe with arguments, app does not wait for process to finish. It exits...

View Article


gap filling exercise c#

Hi!I am creating a testing program. I would like to make a question type lke a gap fill exercise, like this, http://www.aditsoftware.com/feature-tour/gap-fill-question.php#What are your ideas of making...

View Article

How to automatically confirm Security risk alert in C# web browser?

I am developing a application with a WebBrowser control that log in to site having security certificate that is not trusted , and it give security alert: Revocation information for the security...

View Article

Connecting two applications(desktop and phone) to the same database

Hi guys, basically what i want to do is to create a desktop application and a Windows Phone application which both access the same database. How can i achieve something like that ? First i thought i...

View Article
Browsing all 31927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>