Questions tagged [C] (1207)

3
answers

File reading in C/C++/C# without the rights to it, how to do?

Want to read a file to which the current user does not have rights. Doing for example: FileStream fs = File.Open(fileName, FileMode.Open, FileAccess.Read); Says access is denied. How to get around without reordering right? Need an answer in C/C++ or C#, preferably on the sharp.
Alex asked October 14th 19 at 11:01
1
answer

Block page on the query execution time?

Read this topic www.sql.ru/forum/actualthread.aspx?tid=592095 but we failed a bit, might have missed. But found the perfect option, but there code is not written in C# and VBwww.cyberguru.ru/dotnet/asp-net/locking-screen-pos... Can anyone help to understand and konvertnut this code in C#?
trent_Windler17 asked October 14th 19 at 10:38
4
answers

Online test written programs

I apologize for the curve title. Have been once ran into a website where there are a bunch of tasks on programming in pascal/c, the described input and output format. The essence of the service was to test the correctness of the written program. I understand that this is some kind of test-system and it is connected with the...
Moshe.Rolfson8 asked October 10th 19 at 15:30
4
answers

C# — Delphi — volume Control in Windows

It took from the application to control the overall volume level of the system. The main language I use Delphi, climbed to Google. In the end, some example was found, but works correctly only under Win XP and below. The fact is that starting with Vista, each application has its own volume level, and therefore found the exam...
Collin_Mills asked October 10th 19 at 15:01
2
answers

Find the minimum length of words in C

Ruined on a simple task. The input is a txt with the string (up to 200 characters), you need to find the minimum length of the words in this line. The word is considered a sequence of English letters (here the question of the sequence can't be a single character?). Stuff quick the following: #include "stdafx.h"<br> #...
arne.Koepp asked October 10th 19 at 14:48
3
answers

Question on C program

There is the following piece of code ...<br> int main(int argc, char* argv[])<br> {<br> int act, act2, value;<br> <br / > printf("Select operation:\n1. The list\n2. Add item to list\n0. To exit the program\n->");<br> scanf("%d", &act);<br> <br / > printf("Entered val...
carey asked October 10th 19 at 14:30
1
answer

Color highlight C#

I want to make a highlight, adding a new product background of the row in the table (datagrid) should become yellowish, and then go back to normal white color. Need some type of color animation. How to do it? And that you can read on this topic, I will be glad if you'll distribute the links. A project on WinForms, VS 2010...
flavie15 asked October 10th 19 at 14:10
1
answer

The DataGridView doesn't want to display null?

VS 2010, a small project in WinForms. As a database using sqlite3. A regular table to a dataGridView on the form is populated with data from database through DataSource. If the database has no null entries, everything works fine. If suddenly there was such, it gives an error ConstraintException and marks the field with an e...
flavie15 asked October 10th 19 at 14:07
0
answer

The Twisted analogue for C#?

Is there a twisted analogue for C#? Need event-driven network programming and to all the hard work in parallelization of socket connections would be on the framework, the programmer only to write the business logic.
beatrice.Morar asked October 10th 19 at 13:06
2
answers

How to update a video frame in MediaElement? C# WPF?

A solution is found. In XAML'e in the tag of the element you want to add a property ScrubbingEnabled="True". There are MediaElement, it video AVI. By clicking on a button executes a method mediaElement.Play();on the other mediaElement.Pause(); There is a slider whose value is used for setting the position of the video.publ...
Raoul_Ernser78 asked October 10th 19 at 13:00