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

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

Rocky79

Member List

Learning VB
Grigs
Wayne Sepega
Amit Patankar
黃泓量 Jeremy Wong
Palle
Mturco11x
Melvin McClurkin
ZeePrime
Hendrikbez
Jehan Badshah
lcj
scyle
xxxmpsxxx
Jordi González
bola shokry
svxtc
tsadipe
SCM_Dude
shieldy
Only Title

Rocky79's Q&A profile

  • Visual Basic filling a bitvector32 in a loop

    Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Perhaps it's wise to say what I want in the first place. Perhaps you guys even know a way to prevent extensive coding in solving this problem. I have 12-bit gray-val ...Show All

  • Software Development for Windows Vista Smartcard based authentication with CardSpace

    When choosing to use Smartcard based authentication with CardSpace, how does the transmission from the certificate between the smartcard reader and the STS takes place The Information Card specifies the thumbprint of the certificate to look for, but what is the exact technical background; does it just searches your computer's Certificates store and all smartcard drives for that certificate, and then sends it towards the STS Would like to know more about it, since nothing specifically seems to be documented about this feature I think I understand your problem a little better now and can see what you are trying to do. The bad news is, and hopefully I'm wrong here, is that this feature ...Show All

  • Smart Device Development Does the standard version of VS2005 -debug- on actual PPC/SP devices?

    Does the standard version of VS2005 -debug- on actual devices   Std shows no remote debugging: http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx Feature Express products Visual Studio Standard Edition Visual Studio Professional Edition Visual Studio Tools for Office Visual Studio Team System Debugging Local Local Local/remote Local/remote Local/remote Or is a real device Local in this context   Is this known yet SocratesBrighton wrote: My problem is that I bought a new SPV M5000 running Windows Mobile 5.0. Although I can connect and deploy my proiject, I cannot set a breakpoint in order to debug it. In my previous SPV M5000 I could d ...Show All

  • Visual Studio 2008 (Pre-release) Introducing: ADO.NET Entity Framework Services

    Greetings, Just wanted to let people know about a little project I've put some time into, that has served as both a primer course for EF and Web Services (since I really didn't know either of both when I started!).  I call it ADO.NET Entity Framework Services, and it's meant to assist with applications developed with web service boundaries. You can find this project here: http://codeplex.com/entityservices This project helps developers to: 1) Create a "fascade assembly" based on a current EF-empowered assembly. 2) Load up an entity fascade based on Load Plans defined in configuration.  This fascade can then be sent over the wire to a remote destination. 3) Hydrate an entity object from an incoming fascad ...Show All

  • SQL Server SSRS 2005 not closing open cusors in Oracle 9i

    The shared data sources in our reports are calling stored procedures in Oracle 9i that return data in out ref cursors. We are creating a bunch of snapshots (about 1400 of them) programatically using the Reporting Services Web Service method CreateReportHistorySnapshot. This works greate but we quickly got the Oracle error "ORA-01000 Maximum open cursors exceeded". The maximum number of cursors is currently set to 1500. Increasing the number of cursors is not a good idea because we have a subreport that executes an Oracle stored proc for each row in the main report and that would be a cursor for each row which would be about 5500 cursors in additon to the cursors we need for all the other snapshots being produced. We need to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. loading a 3d character and getting it to walk.

    Hi there, I'm new to XNA, but have done a fair bit of game dev. How do I get a 3d character into XNA and play out animations on it, so it can walk around the scene. I have my character in 3dsmax / maya and can export it as .x file, but how do I do the rest. Many thanks Kam You will need the content pipeline to load characters and animations but it is not included in the beta, and probably won't be released until December. If you search for content pipeline in these forums I'm sure you'll find lots of info and similar requests ;) ...Show All

  • .NET Development The underlying connection was closed: The proxy name could not be resolved

    Hi, Can someone help me with the error i am receiving: The underlying connection was closed: Unable to connect to the remote server. The underlying connection was closed: The proxy name could not be resolved, verify correct proxy configuration. I can get the service working on localhost but when i promote the service to my production server i receive this message. Any ideas Thanks in adnvance. Hi Rodrigo, Thanks for the response. I tried adding the proxy settings and received a prompt for the credentails. However, after i entered the details I received the following error message: The underlying connection was closed: Unable to connect to the remote server. I have made sure the ...Show All

  • .NET Development Debugging Custom Attributes

    Is there something special I need to do, in order to set a breakpoint and step through a custom attribute I have a class like this: public class SecureClass { [ApplicationPermission(SecurityAction.Demand, CustomPermissions.UserAccessPermission)] [MyTest] public bool WasSuccessful() { return true; } } And I was trying to set a breakpoint in the constructor for ApplicationPermissionAttribute, so I could debug it. My unit test looks like this: [Test] public void TestUnsuccessfulDemandOfUserAccessPermission() { SecureClass instance = new SecureClass(); try { bool result = instance.WasSuccessful(); Assert.Fail(); } catch (Exception exception) { ...Show All

  • Visual C++ Date, Time and day of week formattor

    I have purchased many manuals for VB, c++, java and C#. I have no problems in formatting a Date (01.01.07), Time (10:10:10) and the day of week (tuesday) in VB. But anything i try in C++ to get the same result is not working. I am trying to format three different fields. If you can give any help with this i would be greatful. See Time Management (CRT) . Those are the relevant functions available. ...Show All

  • Windows Forms what are the new controls (windows.forms) with .net 2.0 version?

    what are the new controls (windows.forms) with .net 2.0 version Can some body give me the link or info related to above, I see few controls were obseleted in the beta version (eg: System.Windows.Forms.DataNavigator and System.Windows.Forms.RaftingContainer) and I am interseted in the list of controls supported in .net 2.0 released version. If I remember correctly these 2 were in fact renamed to BindingNavigator and ToolStripPanel. A list of controls new to .NET 2.0 would be ToolStrip (with its variation ContextMenuStrip, MenuStrip, StatusStrip, ToolStripPanel, ToolStripContainer) DataGridView (and the BindingNavigator) TableLayoutPanel, FlowLayo ...Show All

  • Visual C++ Calling unmanaged Dll function

    I create a win32 dll application.I add a function int MyFunc(void) { return 10; } Then i add this line of code to export the function at "MyDLL.h" extern __declspec ( dllexport ) int Myfunc(void); I want to call this function from a CLR console application. using namespace System; using namespace System::Runtime::InteropServices; [DllImport( " MyDLL .dll" )] extern "C" int MyFunc( void ); int main( array <System::String ^> ^args) { int a; a=MyFunc(); return 0; } When i run this i receive : An unhandled exception of type 'System.EntryPointNotFoundException' occurred in TestDll.exe Additional information: Unable to ...Show All

  • Visual Basic Unrecognized Database Format?

    Hi, I am using VB2005 Express, and I was trying to access a database using: con.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source = C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\CAD\CAD\CADdb.mdf" con.Open() I made the database using VB's database thing (I guess ). However, when I try to run it, it says Unrecognized database format 'C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\CAD\CAD\CADdb.mdf'. Any ideas Thanks! If you made the database using VB Express then its likely a SQL Express database and not a MS-Access database. In which case the connection string you have provided is incorrect as this looks ...Show All

  • Visual C++ Visual Studio and ANSI standard

    I just got this book Teach Yourself C in 21 Days (which uses ANSI standard) and I can't get Visual C# to even use basic code like: #include <stdio.h> main() { printf( "Type stuff here" ); } Although, Visual C++ will, but even then some of the syntax isn't being read as legal code. How do I get Visual Studio to start using the ANSI standard... The ANSI standard is about the C language not about the C# language. You may want to look for a book about C# if you want to learn it. The equivalent of the above C code in C# is: using System; class Program { static void Main(string[] args) { Console::WriteLine("Type stuff here"); } } As for errors with Visual C++ that's because ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Intercepting Exit

    Is there a way to intercept and abort the closure of the Game window when the user clicks the close button Something similar to the FormClosing event for a Form window, where FormClosingEventArgs.Cancel can be set to true, if the user decides to change their mind and save their location, for example. I haven't found it yet... I'm just hoping I've missed it. Alternatively, can I disable the close button Thanks, Paul Sorry about that. I guess I was thinking of the minimize/maximize buttons. And Leaf, it's very annoying when someone comes along and reminds me of what a moron I am. ...Show All

  • Visual Studio Express Editions Logic problem

    This problem appears to be a logic problem rather then a syntax one. Basically I have a heap of images and I want to display 3 per row. My problem is atm it is only displaying 2 on the first row and then 1 per row after that. Here is my code: Private Sub maps_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadworldMaps() interval = 0 setting = "maps" id = "worldMaps" y = 20 x = 10 width = 160 height = 110 For count = 0 To 59 interval = interval + 1 worldMapsDisplayArray(count) = New worldMaps(badgesArray(count).mapImage, worldMapsArray(count).name, worldMapsArray(count).mapInfo, x, y, width, height, count, "worldMaps", setting, interv ...Show All

©2008 Software Development Network