Software Development Network Logo
  • SQL Server
  • .NET Development
  • Visual C++
  • Visual Basic
  • VS Team System
  • Smart Devicet
  • IE Development
  • Windows Forms
  • Microsoft ISV
  • Audio and Video
  • Windows Vista
  • Visual FoxPro
  • Visual C#
  • SharePoint Products
  • Visual Studio

Software Development Network >> Cisco_Systems's Q&A profile

Cisco_Systems

Member List

artzoop
Chelion
Mavericko
sk007
sully111
JRLiem
Michael Herman - Parallelspace
AJ13
Vasic
RAFIKABDAT
migs
Kamalkanth Nayak
eveningjazz
hwti
David Ruiz
braz
michaelleewebb
HuberSepp
furjaw
toky64
Only Title

Cisco_Systems's Q&A profile

  • Visual C++ How to compile _asm in x64 environment?

    Hi all, i would like to compile inline assembly that using EM64T register set by using visual c++. for example my code as below: _asm mov rax, rbx I can't compile it because compiler is not recognized EM64T register like rax, rbx...... I would like to compile and run the application under 32bits mode and EM64T mode. Appreciate if anybody can help. Thanks :) The Visual C++ compiler does not support inline x64 assembly. You'll need to put the assembly code in an .asm file and "compile" it using the MASM assembler that comes with Visual C++ (ml.exe). ...Show All

  • Visual Basic Evaluate a string expression

    Say a textbox's text is (3*4) / 2 How could I evaluate that Or evaluate whatever is entered in the box If possible I want the result to be of type Decimal Thank you. http://www.codeproject.com/vb/net/math_expression_evaluator.asp Best regards, Johan Stenberg ...Show All

  • Smart Device Development Setting the parent of a form raises exception in NET CF 2.0

    Hello, I just ported an application from NET CF 1.0 to NET CF 2.0 (SP1) and I get the error System.ArgumentException: Value does not fall within the expected range. at Microsoft.AGL.Common.MISC.HandleAr() at System.Windows.Forms.Control._SetParent() at System.Windows.Forms.Control.set_Parent() at com.incahellas.FormHelper.PrepareForm() at com.incahellas.FormHelper.ShowForm() at pocketerp.Form1.MainWorkA() at pocketerp.Form1.set_Func() at pocketerp.Form1.Form1_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at System.Windows.Forms.Application.Run() at pocketerp.MainClass.Main() } whenever I try to set the parent of a form. Does anybody kn ...Show All

  • .NET Development Interop, pinning and delegates

    A hopefully simple question. Win32 functions like ReadFileEx take a function pointer for later callback. Interop-wise I've defined this as a delegate [DllImport("kernel32.dll", SetLastError=true)] public static extern bool ReadFileEx ( IntPtr hFile, byte[] lpBuffer, uint nNumberOfBytesToRead, Overlapped lpOverlapped, CompletionDelegate lpCompletionRoutine ); Where the completion delegate is defined as: public delegate void CompletionDelegate ( uint dwErrorCode, uint dwNumberOfBytesTransfered, Overlapped lpOverlapped ); This all works fine, but I've a question. Some time can elapse between the ReadFileEx call and completion of the I/O (when the delegate is cal ...Show All

  • Visual Studio Express Editions textbox in visual basic 2005

    i want to fill multi row to textbox from database but when i'm trying the text fill with single row buti want it multi rows can any proffessional help me !!!!!!!!!!!!!!!!!!!!!!! Me . TextBox1 . Multiline = True Me . TextBox1 . Text = "Line1" & Environment . NewLine & "Line2" ...Show All

  • Visual Studio 2008 (Pre-release) Security Zone of webpage within a frame

    Microsoft have suggested, on an msdn page somewhere (which I find if it is necessary, but do not currently have to hand) that it is possible to embed an activex control within a Windows Presentation Foundation Application, by putting it on a webpage, and setting the source property of a frame. Infact, what i'm trying to do is to load a page generated by powerpoint 2007 into a frame on a wpf page. With internet explorer 7 installed I am unable to load the page without first having to accept to running scripts or activex controls (the information toolbar always comes up). This is not a problem in internet explorer 7 itself. I have allowed active content to run from my computer, and the page loads without prompts in internet explorer ...Show All

  • Visual C++ Creating and using Global variables...

    I want to have variables that I can access throughout my application. To do this how and where would I need to define them. Thanks. einaros wrote: With __declspec(selectany), a solution may look like: globals.h __declspec(selectany) int myInteger; source2.h void doSomething(); // declare function, for use by main.cpp (and others) source2.cpp #include "source2.h" #include "globals.h" void doSomething() { myInteger += 100; // do something with the global integer } main.cpp #include "globals.h" #include "source2.h" int main() { myInteger = 1; doSomething(); // myInteger should now be 101 } To me, this is a much simpler approa ...Show All

  • Visual C# Check for Updates!!

    How can I make a (Check for Updates) options to allow my application to check for an update from a specefic path and update the existing installed version ahmedilyas wrote: there are many ways of doing this. Personally I created a webservice to do so. I call up the webservice, give it my application details (name, version etc...) and the webservices gives me the updated file going through the directories of my webserver, finding the exe files etc... and checking the versions of them and seeing if there is a better/higher version than the one the client is running. It's not a short topic to cover but hope this gives you some steps :-) Its time to sleep, I'm just bookmarking this post coz I need to discuss it w ...Show All

  • Software Development for Windows Vista Webcam programming SDK and documentation especially about for controlling pan, tilt, zoom capabilities

    Hi everyone I'd like to capture video frames and tracking in some features in video frame images. But I don't have enough experience about programming webcams to do this operations. Especially How can I control pan, tilt and zooming capabilities of webcams through DirectX SDK Are there any documention and Know-how in the web Thanks for your interest Sincerely Cem Dear Chris, First of all thanks for your interest in my problem an your reply, I installed DirectX SDK August 2006 but I can not find any executable regarding to the GraphEdit program except GraphEdit.jpg file inside the SDK folder. Do I need to build it otherwise there is no prebuild binary file about this utility program inside SDK Sincerely C ...Show All

  • Visual Studio Express Editions how to get hardware IDs of system

    how to get Hardware ID,serial no,model no of pc Harddisk,Processor,motherboard etc.... you could use WMI for this approach. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=845223&SiteID=1 be sure to add a reference to System.Management and import the namespace. I would also suggest downloading this cool tool which allows you to go through the WMI engine and go to specific classes and get information you want and it also generates VB.NET/C# code for you: http://www.microsoft.com/downloads/details.aspx familyid=2CC30A64-EA15-4661-8DA4-55BBC145C30E&displaylang=en ...Show All

  • .NET Development Question

    OK, I am working on a code encripter to hide letters a-z and convert them to a special symbol that the program can read. How do I open txt files and read and change charater by charater on the program RizwanSharp wrote: Converting a to 1 and 1 to a is really a bad Idea and can be broken very easily, Which is never recomended, You need some strong enctyption using Standard Algorithms, Which converts your data to very complex format which is un readable by anyone! To take this a bit further, there's almost never a reason to design and build your own crypto algorithm (unless you get a kick out of that kind of thing, in which case go nuts!) Basically, I would suggest you keep this in mind: if it's ...Show All

  • Visual Studio Team System Creating a custom set of rules using FXCop 1.35

    Hi, I want to develop a set of naming convention rules for an application. For example i want to retirve the list of all the interface names in the application and check whether they are accroding to a certain standard. My question is how can i retrieve the list of classes Could the Check(Member m) method for this purpose thanks. You should override the Check(TypeNode) method and do something similar to: public override ProblemCollection Check(TypeNode type) {     Interface interfaceNode = type as Interface;     if (interfaceNode == null )         return null ;     string name = interfaceNode.Name.Name; &nbs ...Show All

  • Visual C# Visual Studio 2005 - PILE OF ***!

    Hi, Although .NET 2.0 has brought ,any great additions to the .NET family, the IDE for me is the worst part of the experience. 1. The IDE is terribly slow... much slower than it should be. 2. The IDE seems full of bugs. These two problems do not make a good productivity combination. I do not believe Visual Studio 2005 is suitable for enterprise development, where you typically work on large scale solutions consisting of hundreds of projects. The IDE simply chokes on large solutions. Intellisense comes to a grinding halt and solution level configuration changes, such as setting debug/release mode take minutes (2minutes or more per click). The number of crashes of the IDE per day is also pretty high. We have started recordi ...Show All

  • SQL Server Formatting a field to spec in SQL

    Can anyone tell me how to format a field to spec Example: Select num_field from table = 12345 I want Select Format( num_field, "0000000000") from table = 0000012345 or some equivalent. I know in Access you could do this using the Format function, but I cannot seem to find anything like this in SQL. Thanks in advance, Michael Hi Jen, Thanks for the response, it works with one small exception, I need to use the RIGHT function not the LEFT. But all is good, and it works...THANKS! Michael ...Show All

  • SQL Server Defining an Action in SSAS

    Hi, I have the need to build an Action on a measure that belongs to a cube that behaves like a DrillThrough Action that returns details related to a measure. The problem is that the details data should come from a table that is not inside the cube but it is in an SQLServer DB. So, it is possible to define an Action that could retrieve data from an external DB If so, how I'll write the action in BIDS (Target Type, Action Type, Action expression, etc.) . Thank you. Hi I having the same problem with my report (when i click on any cell, i m not able to check details).....cuz i have a calculated member in my cube and i cannot make a regular drill through, so i am also planning to d ...Show All

©2008 Software Development Network