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

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

CFutino

Member List

e_santos
Shady9399
software_writer_nyc
BhuttCrackSpackle
Bennie9425
Pramod S Kumar
TheMaj0r
Denis Pitcher
ekb0211
BobH
PaulSw
Mainiac007
Aleksey Nagoga.
Bruno Kovačić
Skyler Fowler
Shrek.NET
spot9969
Luke Yang
sydes141
Basel Al-Khateeb
Only Title

CFutino's Q&A profile

  • Visual Basic Hyperactive Intellisense when working with windows forms.

    When I'm working on a form on the "codebehind" and start debugging, when I stop debugging and begin editing again I get extremely odd code formatting. After every character I type it seems like it's trying to autoformat what I just wrote as if I had hit "enter". For instance if I am inside of a method ie Public Sub DoSomething() and I type Dim a as String after I type the "D" the editor will show "D()" after I type the "i" the editor will show "D(i)" I have installed the hotfix that is supposed to fix this issue. And at first it seemed it had, but lately I am getting this problem every time I do the following: have a form designer window open and the code behind window open, and a ...Show All

  • .NET Development Method getHashCode()

    Hi Someone know which the algorithm used by default method getHashCode() MD4, MD5, SHA-1 Ok! Thanks! So, I can't use this method. I need use a hash code for validate strings that will be loaded by a web service. The user send the string and respective hash code. The user need generate the hash code by the same way that I'll. If the user don't work with dot net, it will have problems to generate the hash code. Thanks again, I'll look for another way, maybe use MD5 with System.Security.Cryptography from framework. ...Show All

  • Visual C# partial class and conditional compiling

    Hi, I have a following class declaration: #if LOW_LEVEL public sealed class Core #else internal sealed class Core #endif { } Based on the conditional compiling directive I want to control the access to the class. I do not define the LOW_LEVEL compiler directive (either in code or in project settings). I compile this class. It works fine. But when the class definition is split across files like below: //class1.cs #if LOW_LEVEL public partial sealed class Core #else internal sealed class Core #endif { } //class2.cs #if LOW_LEVEL public partial sealed class Core #else internal sealed class Core #endif { } and when I compile the two classes now ...Show All

  • Visual Studio 2008 (Pre-release) Calling "transactional web services" within a series of database update calls - is Indigo the only way?

    SCENARIO Suppose I call the following method in a ServicedComponent: public void DoMixedUpdates() {     DoDBUpdateA();     DoDBUpdateB();     CallWebService1ToDoDBUpdateC();     CallWebService2ToDoDBUpdateD();     DoDBUpdateE();     DoDBUpdateF(); } All 6 calls perform DB updates but the middle 2 calls call "plain old" ASMX web services that each then call a component that performs DB update C and DB update D. QUESTION On the current shipping versions of Windows Server 2003, does a) .NET 2.0 with WSE 3.0 or b) .NET 2.0 without WSE 3.0 support the "transactional web service" scenari ...Show All

  • Visual C++ [export]ing helpstrings

    Hi, I want to insert the helpstring into [export]ed idl items in attributed C++ code. I have (i.e. this works): in my.h file [export] typedef enum KillConstant { KillConstantReboot = 1, KillConstantExitOnly = 2, KillConstantShutdown = 3, KillConstantPowerOff = 4 } KillConstant; This generates the following idl: typedef enum KillConstant { KillConstantReboot = 1, KillConstantExitOnly = 2, KillConstantShutdown = 3, KillConstantPowerOff = 4, } KillConstant; I want something like this (doesn't work): [export] typedef [helpstring("Selector for kill method.")] enum KillConstant { [helpstring("Reboot the computer.")] KillConstantReboot = 1, KillConstantExitOnly = 2, KillConstantShutdown = 3, Ki ...Show All

  • Smart Device Development WindowsMobile.PocketOutlook Questions

    I apologize in advance if these questions should prove lame. 1. In my app, I want to let the user pick one of his contacts, allow him to search by a contact-category filter. I'm prepared to build this myself, but I'm hoping that for the sake of consistency throughout the UI of the OS, there may be a form object or other resource (insert handwaving) already provided. No chance of this, right 2. Ideally I want to assign a category to the contact he chooses (if it wasn't already filed as such). Said category may or may not already exist when the app is launched. I'm going to have to POOM for this, aren't I 3.Once chosen, I want to store a handle to the contact in my apps' WinCE database. I assume the PimItem.ItemId would do it But I' ...Show All

  • SQL Server RESTORE LOG with different recovery path

    I'm trying to RESTORE LOG with a different recovery path. Is there a way to do this I'm getting the below error. I know I could RESTORE from the beginning, but need to RESTORE the log file to the same database schema but different database and server. What steps do I need to do This backup set cannot be applied because it is on a recovery path that is inconsistent with the database. The recovery path is the sequence of data and log backups that have brought the database to a particular recovery point. Find a compatible backup to restore, or restore the rest of the database to match a recovery point within this backup set, which will restore the database to a different point in time. For more information about recovery paths, see SQL Se ...Show All

  • Smart Device Development Programmatically Wakeup SmartPhone or PocketPc without unavailable suspend Mode

    Hello, I would like to know if VB, VC or C# (write using VS 2005) application can stay in process during power standby (or suspend ) and automatically wakeup programmatically. BUT NOT USING SOMETHING LIKE SystemIdleTimerReset. Because SystemIdleTimerReset usage can can quickly drain the batteries. I need to make an applicatation wich one stay in activity but nothing is made (with timer), SmartPhone or pocket (after 3 minutes will be in suspend mode) and I need to Wakeup Pocket or smart to process my code in 1 hour for example without unavailable suspend mode. Thank’s in advance You might be able to use this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceshellui5/html/wce50lrfcerunappattime.asp ...Show All

  • Windows Forms Problem adding files...

    This should be a simple matter. The documentation I have read says "just include the files in your project and manage them in the Application Files dialog box, accessible from the Publish page of the Project Designer ." I am trying to include some .pdf files with the install. I have put them in every folder of my project but I can't get them to show up in the Application Files dialog box. I can see the files in the Solution Explorer but can't include them. Any hints Much appreciated, Gage Hi, sorry, this was a double post. The first time it said there was an error when I posted but it actually went through. The question was answered here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=5 ...Show All

  • Visual Studio 2008 (Pre-release) Problem with NTLM on IIS

    Hi everyone! I began to investigate different security option of the WCF and found this problem: WCF is hosting on IIS. So I have no problems while there was Anonymous access. Then I restrict access only with integrated Windows security and since this i wasn't able to make my service work. So first time it responded with such error: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. The problem seems to be clear: In Service and Client config's i set clientcredentialtype to Windows, then IIS responded generally the same error: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header receive ...Show All

  • Windows Forms Why SHIFT in Shortcuts in TextBox?

    Use the ShortcutsEnabled property to enable or disable the following shortcut key combinations: CTRL+Z CTRL+C CTRL+Y CTRL+X etc... The shortcuts above won't work in my application.   In stead I must use the SHIFT key: CTRL+SHIFT+Z CTRL+SHIFT+C CTRL+SHIFT+Y CTRL+SHIFT+X etc...   Why ...   I want the first one. How I'm using VB 2005. The most common reason for this is that you've assigned these shortcut keystrokes to menu items or toolbar buttons... ...Show All

  • Visual Studio 2008 (Pre-release) MarhalByRefObject

    Two questions: 1.) I'd like to create a proxy for automatically generated entity framework classes. The problem is that the generated classes do not extend MarshalByRefObject. Is there any workaround 2.) Is it possible to define that the properties of the generated classes are private instead of public Thanks! Marcel Hi Marcel; To understand the answer to both your questions, it's important to distinguish between the code generator and the runtime Entity Framework (and Object Services, in particular). The code generator that is part of the current build is not very extensible, and does not provide support for specifying an alternate base class nor that members be generated private instead of pu ...Show All

  • Visual C++ C1001 INTERNAL COMPILER ERROR when using boost/random library

    Hi all, I am attemping to use VC++ v6.0 with boost/random library 1.33.1 for my Monte Carlo simulation but I am running into "C1001 INTERNAL COMPILER ERROR": MonteCarlo.cpp y:\fsf\proj\boost\1.33.1\common\include\boost\random\uniform_01.hpp(29) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe. This is the uniform_01.hpp file (I highlighted line 29 in red): #ifndef BOOST_RANDOM_UNIFORM_01_HPP #define BOOST_RANDOM_UNIFORM_01_HPP #include <iostream> #include <boost/config.hpp> #include <boost/limit ...Show All

  • Windows Forms does it make a difference if the value given to CmbBOX.ValueMember is lower or upper case

    I have a combobox that I bind to a table in a dataset like this: cm.CommandText = "select * from route" da.SelectCommand = cm da.Fill(ds, "routes") CmbRoutes.DataSource = ds.Tables(0) CmbRoutes.ValueMember = "CODE_RT" CmbRoutes.DisplayMember = "DESCR" this code above gives me the right result : combobox with the correct list when I replace the line CmbRoutes.ValueMember = "CODE _RT " with CmbRoutes.ValueMember = "CODE _rt " '(i make RT lower case) I don t get the same result or I get an error: can bind to nvaluemamber any explanantion pls thanks yeah true, u can even still address most items, whatever it is that have a name by lower and ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA multiple bounding spheres

    i have been making a pool game and now i need to add more balls, i need to put more balls onto the table first then what would be the collision code for all the balls if they were in an array This is can be handled in a simple manner, in fact I have recently done something very similar. I assume you have a Ball class that has a BoundingSphere. int iMaxBalls = 10; Ball[] balls = new Ball[iMaxBalls]; for (int i = 0; i < iMaxBalls; i++) { for (int j = i + 1; j < iMaxBalls; j++) { if (balls .BoundingSphere.Intersects(balls[j].BoundingSphere) { // Enter your collision code here. } } } Notice that the j loop starts at i + 1. This ensures that each bal ...Show All

©2008 Software Development Network