Search found 22 matches

by Sean
Fri Mar 10, 2017 1:38 pm
Forum: Introduction
Topic: Hello
Replies: 0
Views: 3525

Hello

am new to the board and will be taking the CA Civil Surveying,

I am hoping to make a few study friends on here.
by Sean
Tue Mar 07, 2017 8:48 am
Forum: Microsoft Visual Studio Projects
Topic: Trapping Key presses in C# Child form
Replies: 0
Views: 1702

Trapping Key presses in C# Child form

I have seen several posts about trapping keys presses but none specific to child forms. In the code fragments below Key presses are trapped when the focus is the parent form but not when the focus is the child form. What else do I need to do to trap those also? I would also like to be able to trap a...
by Sean
Tue Mar 07, 2017 8:47 am
Forum: Microsoft Visual Studio Projects
Topic: Newing a derived class to create a default object
Replies: 0
Views: 1849

Newing a derived class to create a default object

I have a base class which has several derived classes. Within the derived class I have an enum which tells me which derived class the object belongs to. Now, I want a function create a new object of a derived class, and the only parameter I'd pass would be the enum value of the class I want to creat...
by Sean
Tue Mar 07, 2017 8:46 am
Forum: Microsoft Visual Studio Projects
Topic: Getting compilation errors after upgraded a C++ project from VS2013 to VS2017 RC
Replies: 0
Views: 1911

Getting compilation errors after upgraded a C++ project from VS2013 to VS2017 RC

I converted a midsize C++ project (little less than 2 million lines of code) from VS2013 to VS2017 RC. The conversion went successfully, but when I attempted to compile, I got the following errors: 1>------ Build started: Project: abcd, Configuration: Debug Win32 ------ 1>StdAfx.cpp 1>c:\program fil...
by Sean
Tue Mar 07, 2017 8:44 am
Forum: Microsoft Visual Studio Projects
Topic: How to save data from checkedlistbox to access database?
Replies: 0
Views: 1897

How to save data from checkedlistbox to access database?

Hello. I'm having trouble with inserting data to a database based on items checked on a checkedlistbox. There are two and the data on the checkedlistboxes are also from the same database but from different tables and they will serve as foreign keys to the table where I need to save them. I need it s...
by Sean
Tue Mar 07, 2017 8:43 am
Forum: Microsoft Visual Studio Projects
Topic: WebClient gives empty response?
Replies: 0
Views: 1901

WebClient gives empty response?

Hello, I wonder why I get an empty response from the below URL? When open the URL in chrome, there is a JSON response. WebClient client = new WebClient(); client.Headers.Add("user-agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2"); S...
by Sean
Tue Mar 07, 2017 8:41 am
Forum: Microsoft Visual Studio Projects
Topic: amp synchronize() crash
Replies: 0
Views: 1879

amp synchronize() crash

how to change array_view to array for this code void Zoom(Picture *source, Picture *destination) { int rows = destination->Rows; int cols = destination->Cols; int centerx = source->CenterX; int centery = source->CenterY; int radius = source->Radius; float xrate = (float)rows / (float)radius / 2; flo...
by Sean
Tue Mar 07, 2017 8:40 am
Forum: Microsoft Visual Studio Projects
Topic: thumbnailPhoto not getting in case of Global Catalog
Replies: 0
Views: 1806

thumbnailPhoto not getting in case of Global Catalog

I have created a AD forest that search for a user across all domains in the forest using its global catalog connection string. I am trying to get thumbnailPhoto of AD user using c# code. But I did not get thumbnailPhoto property in result object even though it exist in AD. I had verified the thumbna...
by Sean
Tue Mar 07, 2017 8:39 am
Forum: Microsoft Visual Studio Projects
Topic: FileShare.Write manage concurrency or not it is possible to data lost?
Replies: 0
Views: 1798

FileShare.Write manage concurrency or not it is possible to data lost?

hi everybody,

according to MSDN FileShare.Write enum item allow another processes write to a shared file concurrently.

I want to now is it manage concurrency or not it is possible to data lost?

thanks
by Sean
Tue Mar 07, 2017 8:38 am
Forum: Microsoft Visual Studio Projects
Topic: WebBrowser Point Zoom
Replies: 0
Views: 1646

WebBrowser Point Zoom

Hello, im using click.point to click in webbrowser control. I've added zoom out (i need it for i can see all elements) my problem is if i keep the zoom at 100 works fine if i put zoom to 25 dont work. Zoom code: Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As EventArgs) Handles WebB...