-
- Visual C#
by TadAnderson
- 7211 Replies
- TadAnderson Views
- Last post
-
smart client / winform encryption tool
- have found the need to encrypt many of my files across many deployments. So I wrote a winform encryption tool, and borrowed from an MSDN article to encrypt web config files. You can download both here.
-
- IE Development
by SteveBattista
- 2881 Replies
- SteveBattista Views
- Last post
-
encrypting the index with efs
- I am looking to suggest using WDS in an enterprise environment. I can't advise this unless the index is encrypted. How can I do this. We are currently using EFS.
Thank you
-
- Windows Forms
by CLProgrammer2
- 12743 Replies
- CLProgrammer2 Views
- Last post
-
give application .net framework permissions
- I have an application that writes a text file to a folder in the users C:// drive. This application is run from a network folder by multiple users and it gets this error:
Request for the permission of type ‘System.Security.Permissions.FileIO.Permission.mscorlib.
It says to grant this application the required permission use the .NET Framework Configuration tool. I can get it to work by creating a code group in the configuration tools but I was wondering if there is a way to do this in the application itself
-
- Visual Studio
by Stefan_B
- 16716 Replies
- Stefan_B Views
- Last post
-
debugging objects with multiple (virtual) inheritance
- Hi all,
I have got a rather complex multiple inheritance tree to separate interfaces from actual implementations. Problem is that the debugger cannot resolve the complete type info, which is rather frustrating during development. In the example below I can debug 'obj' with all members but using the pointer 'ptr' I only get access to the upper classes in the inheritance tree. Is there a way to elegantly solve this problem
Stefan
// classes on the API side
class API_Obj
{
public:
API_Obj() {}
};
class API_Device : public virtual API_Obj
{
public:
API_Device() {}
};
class API_DeviceXYZ : public virtual API_Device
{
public:
API_DeviceXYZ() {}
};
// class that implements interface of API_Obj
class IMPL_Obj : public virtual API_Obj
{
public:
IMPL_Obj() : m_IMPL_Obj(1) {}
int m_IMPL_Obj;
};
// class that implements an API_Device (needs to inherit impl of API_Obj)
class IMPL_Device : public virtual API_Device, public virtual IMPL_Obj
{
public:
IMPL_Device() : m_IMPL_Device(2) {}
int m_IMPL_Device;
};
// class that implements a special device
class IMPL_DeviceXYZ : public virtual IMPL_Device, public virtual API_DeviceXYZ
{
public:
IMPL_DeviceXYZ() : m_IMPL_DeviceXYZ(3) {}
int m_IMPL_DeviceXYZ;
};
int main()
{
IMPL_DeviceXYZ obj;
API_DeviceXYZ* ptr = dynamic_cast<API_DeviceXYZ*>(&obj);
-
- Game Technologies
by psychogeek
- 6072 Replies
- psychogeek Views
- Last post
-
drawing on texture
- Hi :)
Background:
I have a very large 2D (tile-based) game map that I want to represent in a smaller window when the user hits a key. What I plan to do is create a small texture representation of that map when it is initially loaded and then display it when necessary. This texture would be a 512x512 pixel grid of which I need to colorize/set about 20% of the pixels at runtime.
Question:
Can someone please explain how to draw individual colored pixels directly on a Texture2D texture The XNA help on using SetData<T> is scarce at best and I am unsure of what type of info to pass into it.
TIA!
-
- SharePoint Products
by Ilana
- 1888 Replies
- Ilana Views
- Last post
-
- Audio and Video
by quartz.
- 1166 Replies
- quartz. Views
- Last post
-
permission denied error - daily dilbert gadget
- Hey Guys
;i have created a DailyDilbert a Windows Sidebar Gadget which can be downloaded from
;http://www.codeproject.com/useritems/DailyDilbert.asp
;Although the Gadget is working great i am getting this complain from few of the users that they recieve permission denied Error when the HTTPRequest object tries to get the RSS xml feed from a third party website
;Comment from a user ;
" However, when I try to run it using Vista Enterprise 64bit, the gadget encounters an "permission denied" eror when running the getRSS() function. I printed out the exception and e.name is "Error" and e.message is "permission denied". I have reinstalled the gadget several times, each time unzipping the package and putting it in the directory “%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets”. I also turned off UAC to no avail, and even modified the security settings in IE7 to low. I am guessing it is either something really simple I am overlooking or it is a Vista permissions thing---although I am system admin with full permissions enabled "
;I also encountered this error once but i am unable to simulate the problem
;What all could be possible causes for this , i am as clueless as dilbert.
;Thanks
;
;
-
- Visual Basic
by Kalibr
- 8556 Replies
- Kalibr Views
- Last post
-
old code issues...
- I use VB6 at school, and was quite used to doing the following:
number = txtbox1.txt
mumber = number+42
lbl1.caption = number
Why does it not work with the new version, and hw can I fix it
What I am looking for is a way to get text (in this case numbers) from a textbox, manipulate it, and output it to a label. How can I do this Also., for later purposes, how do I directly output a textbox to label
-
- Microsoft ISV
by kenbubblez
- 1294 Replies
- kenbubblez Views
- Last post
-
please help run-time error '13' : type mismatch
- I'm trying to extract a column into an excel spreadsheet
this is the original coding:
With ActiveSheet.QueryTables.Add(Connection:= _
"ODBC;DSN=ORACLE 7.3;UID=REPORT;PWD=REPORT;DBQ=PROD;ASY=OFF;", Destination:=Range("A1"))
.CommandText = Array( _
"SELECT CLOANCL.CUSTNO, CLINTCB.CUSTRPTNAME, CLINTCB.CTRYCRITIZEN ,CLINTCB.CTRYCRITIZEN, CLINTCB.CTRYLOC, CLINTCB.LOCINDUSTCODE, SDCUSTPD.BANKNONINDIC, CLOANCL.LNRF, CLOANCL.CCY, CLOANCL.LASQ, CLOANCL.PRINCIPAL, CLOANCL.TYPE, CLOANCL.SUBTYPE, C" _
, _
"LOANCL.VALUEDATE, CLOANCL.MATUREDATE, CLOANCL.OLNO, CLOANCL.PARTSOLDAMT, CLOANCL.FCLTYTYPE, CLOANCL.FCLTYSEQNO, CLOANCL.BOOKCODE, RUNDATE.RUNDATEDMY " & Chr(13) & "" & Chr(10) & "FROM YAP.CLINTCB CLINTCB, YAP.SDCUSTPD SDCUSTPD, YAP.CL" _
, _
"OANCL CLOANCL, YAP.RUNDATE RUNDATE" _
_
& Chr(13) & "" & Chr(10) & "WHERE CLOANCL.CUSTNO = CLINTCB.CUSTNO AND CLINTCB.CUSTNO = SDCUSTPD.CUSTNO AND CLOANCL.BRANCH = RUNDATE.BRANCH and cloancl.type <= 'JZ' AND CLOANCL.RECI = 'D' and cloancl.valuedatej <= rundate.rundatej ORDER BY CLOANCL.TYPE, CLOANCL.SUBTYPE" _
)
after i included the new column, I get an error "type mismatch":
With ActiveSheet.QueryTables.Add(Connection:= _
"ODBC;DSN=ORACLE 7.3;UID=REPORT;PWD=REPORT;DBQ=PROD;ASY=OFF;", Destination:=Range("A1"))
.CommandText = Array( _
"SELECT CLOANCL.CUSTNO, CLINTCB.CUSTRPTNAME, CLINTCB.CTRYCRITIZEN, CLINTCB.CTRYCRITIZEN, CLINTCB.CTRYLOC,CLINTCB.LOCINDUSTCODE, SDCUSTPD.BANKNONINDIC, CLOANCL.LNRF, CLOANCL.CCY, " _
, _
"CLOANCL.LASQ, CLOANCL.PRINCIPAL, CLOANCL.TYPE, CLOANCL.SUBTYPE, " _
, _
"CLOANCL.VALUEDATE, CLOANCL.MATUREDATE, CLOANCL.OLNO, CLOANCL.PARTSOLDAMT, CLOANCL.FCLTYTYPE, CLOANCL.FCLTYSEQNO, CLOANCL.BOOKCODE, RUNDATE.RUNDATEDMY" _
& Chr(13) & "" & Chr(10) & "FROM YAP.CLINTCB CLINTCB, YAP.CLOANCL CLOANCL, YAP.RUNDATE RUNDATE, YAP.SDCUSTPD SDCUSTPD" _
& Chr(13) & "" & Chr(10) & "WHERE CLOANCL.CUSTNO = CLINTCB.CUSTNO AND CLINTCB.CUSTNO = SDCUSTPD.CUSTNO AND CLOANCL.BRANCH = RUNDATE.BRANCH and cloancl.type <= 'JZ' AND CLOANCL.RECI like 'D' and cloancl.valuedatej <= rundate.rundatej ORDER BY CLOANCL.TYPE, CLOANCL.SUBTYPE" _
)
Please Help!!!
-
- Visual FoxPro
by Aleniko29139
- 793 Replies
- Aleniko29139 Views
- Last post
-
why vfp locks this table
- I have the following code:
SET EXCLUSIVE OFF
CLOSE DATABASES ALL
USE KRCBP!RUGINV ORDER RUGNO IN 0
USE TMPRUG IN 0
SELECT TMPRUG
SET RELATION TO RUGNO INTO ruginv
BROWSE FIELDS RUGNO,DESIGN=ruginv.DESIGN
When the user starts typing in the first field (rugno, in the tmprug table), it locks the ENTIRE second file (ruginv). The lock gets released only when moving the record pointer.
Any ideas why VFP locks the second file Is there a way out of this
Thanks.
-
- Smart Devicet
by Amit Chopra_MSFT
- 7432 Replies
- Amit Chopra_MSFT Views
- Last post
-
get your applications ready for the first windows mobile powered smartphones with 320x240 screens
- Get Your Applications Ready for the First Windows Mobile Powered Smartphones with 320x240 Screens The Motorola Q and Samsung i320 bring the first landscape 320x240 screens to Windows MobileR powered Smartphones. These devices will be in the hands of many of your new and existing users. Is your app ready
Adapt Your App now with the new Landscape Smartphone emulator image and Microsoft's guidance, tools, and resources. They'll help you ready your code for the latest announced devices and be well prepared to support additional form factors as they hit the market.
Visit the Adapt Your App page in the MSDN Windows Mobile Developer Center; it is a one-stop source for all the latest information and resources you need to build resolution-aware applications.
Emulators
Tools
White papers
Sample code
Webcasts
Hands-on labs
Thanks
Amit Chopra
-
- .NET Development
by Billy Anders - MSFT
- 13098 Replies
- Billy Anders - MSFT Views
- Last post
-
reminder: networking developer online chat today (friday @ 11am pst)
- This is a reminder that the System.Net team, along with the rest of Windows Core Networking, will be on hand this morning in an online chat to answer your questions about System.NET and Core Networking Technologies in Windows.
;
Other product team members from areas such as Winsock, IPv6, Peer-to-Peer, WinINet/WinHttp, Windows Filtering Platform (WFP), Http.sys, new QoS platform, Winsock Kernel, etc.
The chat starts at 11am PST today. ;
http://msdn.microsoft.com/chats/chatroom.aspx
Billy Anders
http://blogs.msdn.com/wndp/
-
- Windows Vista
by Jandost Khoso
- 6718 Replies
- Jandost Khoso Views
- Last post
-
windows vista sdk july ctp and extension for vs.net 2005
- I succeed to download and install Windows Vista SDK July CTP. But now i am facing a problem. Before going to problem i want to explain you how did i install it.
.NET Framework 2.0 SDK
.NET Framework 3.0 RunTime
Windows Vista SDK July CTP
Visual Studio .NET 2005 Professional
But the problem is that i don't get any project templete for Windows Vista Development. You know that Orcas for July CTP is not released yet and i am not able to install that also. How should i start development for Windows Vista SDK July CTP using Visual Studio .NET 2005 ! I don't see any option for that
Please Help me in this regard,
Thanks & Regards,
-
- Visual C++
by JP.Gabrielli
- 5780 Replies
- JP.Gabrielli Views
- Last post
-
"make depend" from .net gui
- Hi,
I build from gui (F5).
My foo.cpp depends on foo.h which depends on bar.h.
I modify bar.h and VC++.NET doesn't rebuild foo.cpp
(actually received from updated file from source control through ClearCase)
This sounds like a newbie question but no-one can answer around me, and I can not believe there is no replacement to traditional "make depend" that unix users trust.
How to change default behaviour to force .NET to "detect" dependencies in include statements and build accurately projects
(instead of rebuilding all everytime of course)
Thanks,
J-Paul Gabrielli
-
- VS Team System
by wencey
- 15574 Replies
- wencey Views
- Last post
-
label with symbols
- All the text inside the label seem to be appeared in the normal form, but i want to represent symbol, for example, m2(meter square), lamda(wavelength symbol0, efficiency(n symbol), and etc. Is there a way to do so