visual-studio-2010

Automatically scroll the listview from top to bottom in c#

点点圈 提交于 2021-01-28 09:55:48
问题 Good day guys. I am currently creating a some kind of advertisement app. It is simple text scrolling from top to bottom and will repeat again. I am currently using listview to do this in c#. The texts that will show in the listview will be coming from a database. I am using the timer to automatically refresh the form. The problem is how can I move it or scroll it from top to bottom automatically every time the form loads and will repeat again every time it finished. Thank you. This is the

Automatically scroll the listview from top to bottom in c#

烈酒焚心 提交于 2021-01-28 09:45:33
问题 Good day guys. I am currently creating a some kind of advertisement app. It is simple text scrolling from top to bottom and will repeat again. I am currently using listview to do this in c#. The texts that will show in the listview will be coming from a database. I am using the timer to automatically refresh the form. The problem is how can I move it or scroll it from top to bottom automatically every time the form loads and will repeat again every time it finished. Thank you. This is the

Team Foundation Server Error - TFS206018 -add solution to source control

时光总嘲笑我的痴心妄想 提交于 2021-01-28 06:13:04
问题 Hi I have problem add solution to TFS 2010. First I describe to you scenario. I installed TFS 2010 on Server 2008 - machine : Zeus. Then I created Team Project collection with TFS Admin console. Name of Team Project collection is Pokec.sk. I am trying add VS solution from another machine : Ares. On machine Ares I have VS 2010. First I configure connection to TFS 2010. On connection from VS to TFS I used credential from machine Zeus. I used this credentials: zeus\administrator. Because I cant

When editing a rc file, then opening it in VC Dialog Wizard, I get error RC2104 because of TBS_NOTIFYBEFOREMOVE

≯℡__Kan透↙ 提交于 2021-01-28 06:08:57
问题 I have a VC++/MFC dialog-based project. In those dialogs, I'm using some sliders with "Notify Before Move" at true. Sometimes, instead of using VS dialog wizard to edit them, I prefer to edit the related .rc file manually in a text editor. The issue is, after editing the .rc file, when I'm trying to open a dialog in VS wizard again, I get this error: "error RC2104: undefined keyword or key name: TBS_NOTIFYBEFOREMOVE" I can still compile the project successfully, but I cannot open the project

Emscripten 1.34.1 Issue

家住魔仙堡 提交于 2021-01-28 02:51:37
问题 Things were working fine in an Emscripten build 1.29.0 but after upgrading to 1.34.1, I get the following error: 1> Traceback (most recent call last): 1> File "C:\Program Files\Emscripten\emscripten\1.34.1\\emcc", line 1260, in <module> 1> shared.Building.llvm_opt(final, link_opts) 1> File "C:\Program Files\Emscripten\emscripten\1.34.1\tools\shared.py", line 1429, in llvm_opt 1> assert os.path.exists(target), 'Failed to run llvm optimizations: ' + output 1> AssertionError: Failed to run llvm

Visual Studio trying to include linux headers despite if statement

百般思念 提交于 2021-01-27 23:44:00
问题 I am attempting to create a robust header file that will compile on both windows and linux without need for changes. To this end I have an if statement in my includes that looks like #if (!defined(__WINDOWS__)) #include <sys/time.h> #include <unistd.h> #include <pthread.h> #endif I am having problems with visual studio still attempting to include these headers despite the if statement resulting in errors like error C1083: Cannot open include file: 'sys/time.h' Is there a way to resolve this

Trying to self-host, I get error - wcf service host cannot find any service metadata .. please check if metadata is enabled

回眸只為那壹抹淺笑 提交于 2021-01-27 19:21:51
问题 I am new to WCF and I've read answers to questions with titles similar to my error but I still cannot see what is wrong. Following some other tutorials I decided to put my contract and my service in separate projects. Ultimately, I would like to host this in IIS but for now I just wanted to get the WCF Service Host to start (and WCF Test Client). Here is the app.config in my service project (would this need to be in my contract project too I wonder??...): <?xml version="1.0" encoding="utf-8"

“RdlCompile” task was not found

给你一囗甜甜゛ 提交于 2021-01-27 18:33:40
问题 I'm trying to compile and project with rldc file, and i'm getting one of two errors, either: The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. or: The "RdlCompile" task was not

What time unit is used in the Visual Studio 2010 instrumentation profiler?

谁说我不能喝 提交于 2021-01-27 15:57:03
问题 The profiler in Visual Studio 2010 is great and all, but I can't see what unit the time results in the instrumentation profiler is reported in. The results table is just numbers and I can't find anywhere in the UI where I can set the unit (as there is in e.g. AQTime). I've read through the "Understanding Instrumentation Data" section on MSDN but it just uses time to explain the numbers. ( "The total time that was spent executing..." ) Does anyone know what unit (milliseconds, microseconds,

Hooking an App made on MSVC++ with __fastcall enabled from an injected Delphi dll

可紊 提交于 2021-01-27 14:37:26
问题 I am trying to hook a function within a application compiled with microsoft visual studio 2010, with __fastcall enabled from a delphi 2010 dll, but I am not to skilled to figure out how to detour the following problem: The C++ function is: void __fastcall function(int arg1; char* arg2); I was trying something like that (using uallHook): var FTextMessage : procedure(Modo: integer; Msg: pchar); register; procedure onTextMessage(Modo: integer; Msg: pchar); register; begin ShowMessage(inttostr