hi i want write one program in c# i have very images in this program and i want user can not copy my pictures load in my project , with print screen button or other softwares like snagit please help !!!! thanks
hameduser
Posts
-
image protect -
how to convert OCX from vb to that .netwhen you add reference a OCX to your project , then in toolbar mus be see a icon from control , now drag this icon to form and use properties, events, ...
-
problem Use ocx in vb.Net 2005 and vista x64Hi all, I have a system with CPU X64 & Vista Ultimate X64, in this system I install VB6 and VB.Net , also I have 2 OCX file and I can use this 2 ActiveX in VB6 , but when I create a project in VB.NET 2005 and then put any ActiveX , now when run my project get this error and my programm not be run !! Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
-
How a service startup automatic?How can set a startup for a service from manual to automatic with write code in Visual C6....
-
How a service startup automatic?I write a service in VC6 App consol, this service install and started but when system restart this service not start because stratup is manual , now I want set startup to automatic with programming. please help me, I search in codeproject but not found any objetc for that.
-
CListCtrl allways show only the first items???Hi please put your code here, when you call setItemCount?
-
write a function for DLL with parameter LPWORD in VC use in VBHi, I have a DLL write in VC , in this DLL a function is declare follow : BOOL InitMyDLL(LPWORD Alpha, LPWORD wrdpack); now i want use this function in my VB project , but any type get for LPWORD (Inteeger , long , double ,...) and run my project when this function call get this error : run-time error '49': bad DLL calling convertion. I Declaration this function in VB follow : private declare Function InitMyDLL lib "MYDLL" (ByRef Alpha, Packet() as long) as Boolean second parameter is a array !!! please help me, thanks for all.
-
How to read and write CPU cache?// Camel - CPU Identifying Tool // Copyright (C) 2002, Iain Chesworth // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "stdafx.h" #include "cpu_info.h" // -------------------------------------------------------- // // Constructor Functions - CPUInfo Class // // -------------------------------------------------------- CPUInfo::CPUInfo () { // Check to see if this processor supports CPUID. if (DoesCPUSupportCPUID ()) { // Retrieve the CPU details. RetrieveCPUIdentity (); RetrieveCPUFeatures (); if (!RetrieveCPUClockSpeed ()) RetrieveClassicalCPUClockSpeed (); // Attempt to retrieve cache information. if (!RetrieveCPUCacheDetails ()) RetrieveClassicalCPUCacheDetails (); // Retrieve the extended CPU details. if (!RetrieveExtendedCPUIdentity ()) RetrieveClassicalCPUIdentity (); RetrieveExtendedCPUFeatures (); // Now attempt to retrieve the serial number (if possible). RetrieveProcessorSerialNumber (); } } CPUInfo::~CPUInfo () { } // -------------------------------------------------------- // // Public Functions - CPUInfo Class // // -------------------------------------------------------- char * CPUInfo::GetVendorString () { // Return the vendor string. return ChipID.Vendor; } char * CPUInfo::GetVendorID () { // Return the vendor ID. switch (ChipManufacturer) { case Intel: return "Intel Corporation"; case AMD: return "Advanced Micro Devices"; case NSC: return "National Semiconductor"; case Cyrix: return "Cyrix Corp., VIA Inc."; case NexGen: return "NexGen Inc., Advanced Micro Devices"; case IDT: return "IDT\\Centaur, Via Inc."; case UMC: return "United Microelectronics Corp."; case Rise: return "Rise"; case Transmeta: return "Transmeta"; default: return "Unknown Manufacturer"; } } ch
-
Need help regarding serial Communication Programmingwhat is your OS? if your OS is windows XP/2003 or later , you can work with com/parallel port directly, because this ports close by Microsoft, you can use API for this work. successful
-
call event of Activex in thread procedure!Hi Roger Stoltz, I create a thread in my ActiveX project with use createthread function : handleTH = CreateThread( NULL, // Thread Attributes 0, // Stack size CheckTinyThread, // Thread function this, // Thread parameter 0, // Default flags &dwThreadID // Thread ID ); in inside this function I call a even of ActoiveX : DWORD WINAPI CheckTThread (LPVOID lpParameter) { CMyCtrl *cMyc1 = (CMyCtrl*) lpParameter; while(TRUE) { if ( MT.Detect () == FALSE) { cTinyc1->FireTinyDisconnect(); // calling event of activex ExitThread(0); } } return 1; } build my project and use my ActiveX control in VB 6, my control works in IDE of VB correct, but make exe and run exe file ,when code event run get a exception Error.
-
call event of Activex in thread procedure!I create a ActiveX project in Visual C6 , in this Activex I create a thread with use createthread function , now I want call a event of Activex in inside createevent function, when I call event routine and use my ActiveX in VB or delphi , then I get one exception in run time ,.... Please help me. Thanks, Hamed.
-
return 2 values by method in ActiveX projectthanks for your help paresh, but, my project is AcriveX in Visual C++ 6 , and I create my method by classwizard, in classwizard type parameters is limited by combobox and have not this type ("[out,retval] long* out1") but I write this type manual and build my project , VC6 give error syntax error : '[' regards
-
return 2 values by method in ActiveX projecthi, I'm writing a ActiveX(OCX file) project in VC6 ,I want create one method in my project, this method have 2 parameters change in this method ,then when call this method in any language ( example delphi) I want see value change in these parameters , In fact I want my method return 2 strings value . I don't know type these parameters and ... thanks for any answer.
-
in/out to parallel port with asm command in x64I have gwiopm.sys file get from internet and with this .sys file can use in / out asm command and sent data to parallel port from application Win32 , now i want send my data to parallel port from windows X64.
-
in/out to parallel port with asm command in x64Hi , I want with use asm command (in out) in VC send my value to parallel port, my OS is windows X64 and when send to parallel port , get a OS Error.
-
mainboard or bios serial numberI want get main board or bios serial number by programming in Visual c6, I read and work a few with WMI class but can not get serial number for bios or main board. Thanks.
-
How to create a casyncsocket object in DLL projectThanks, I didn't work with Socket APIs as yet , let me know if you have any samples or guide me anyway .
-
How to create a casyncsocket object in DLL projectI test my DLL in machine write DLL , so that MFC and also visual C are install.
-
How to create a casyncsocket object in DLL projectCedric Moonen thanks for your reply. I want develope one DLL in VC6 and create CAsyncSocket in Dll , this DLL is client for my service , DLL must be use all programming environment same as delphi , vb ,... When create one variable from CAsyncSocket in DLL(ConnectToServer function) and call this function (ConnectToServer ) in delphi , get Error CASocket1.create() line. please tell me you and others advance how create one class from CAsyncsocket im my DLL project. Thanks.
-
How to create a casyncsocket object in DLL projectI have a MFC Dll project in Visual C6 and use CAsyncSocket class in my project. in wizars forms set "windows socket" checkbox, I get a object from CAsyncsocket and create this, I export function , when use this function in delphi or other programming language I have get one error. I debug my Dll and see occur error in myCasySocket.create() line. void CreateMySocket() { CAsyncSocket myCasySocket; myCasySocket.create(); // << when in line run in DLL occured Error } Thanks, Hamed ral.