Software Development Network Logo
  • Visual Basic
  • SQL Server
  • Visual C++
  • Microsoft ISV
  • Windows Live
  • Visual J#
  • .NET Development
  • Visual Studio
  • Windows Forms
  • VS Team System
  • Game Technologies
  • Smart Device
  • VS Express Editions
  • Windows Vista
  • Visual C#

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

MooseNSquirrelz

Member List

RickVF
Leslie Brown
Minherz
Sam.Williams
Colin Bowern
Ira Berkowitz
Treval_Lightner
belochka
StevePee
Rob Chandler
Snakebite
bmann225
MuratO
HypeH
baroqueimpressionist
ChaitanyNaveen
Rickee
Maurice C.
andy0203
BenZilla69
Only Title

MooseNSquirrelz's Q&A profile

  • Visual Basic vb6 to VB.Net upgrading Sub Main() error

    Hi everyone.. thanks for taking a peek on my thread. Im upgrading a VB6 application. On its sub main, after it finishes, keeps jumping to other control on different forms. Is there a way to make my project to still go through code just the way VB6 does Sup cgraus.. No.. thats not what I meant. What I tried to say its that in VB6, my application once it finishes the Sub main(), it keeps working with other forms. I understand that in VB6, all forms need to be destroyed so that the application can end. In vb.net after finishing the Sub main, it finishes automatically all the application. How can I handle my code in order to keep workin ...Show All

  • .NET Development How To Easily Change Connection To Access Database Created Using "Add New Data Source" And Draging Table To Form

    Hello, I created a small application that works, but I want to be able to change the location of the database in a more simplier way. By this, I mean to accomplish this task, I could just delete my dataset, binding source, table adapter, and binding navigator. Next, I would add a new data source and connection to point to the new location of the database. But, this would mean that every time I do this I have to also change properties such as color etc etc etc. So, I'm looking for an easier way to change the location of the database in my application. In addition, I have to hard-code the full path to my dat ...Show All

  • SQL Server messages aren't getting through after backup / restore on a different server...

    after restoring a database and regenerating keys, I'm trying to queue messages, and they're all hanging out in sys.transmission_queue with the following message: An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. I can't find any documentation or blog info on this error... Help! thanks! Probably the dbo of the database is the original login that created the database, on the original server, and tha ...Show All

  • Visual C++ the end of binary file

    Hi all, I'm using fstream object to read a binary file, but I don't know if it reachs the end of the file, because the eof() function doesn't work for binary files. I always read one more time from the file. That is to say, if I just write one int value to the file, and then I read it. but as a result, I entered the following loop two times. I know the read() fuction consider EOF as a valid content, but I have no solution. So my problem is how to decide the end of binary files while(!infile.eof()) {     infile.read(...);    // read one int value } Thanks. ...Show All

  • Windows Forms Form Controls?

    Windows form troubles.  I created a simple win form that imports various file formats into my database. I initially created all the logic on one page until I was told that would be 30+ different file formats that I needed to parse. With that I decided to*space space*up all the routines into seperate classes for ease of understanding and upgrading later.&nbs ...Show All

  • Visual Basic Fax Service Extended COM API

    hai ,         how can i get reference to the "Fax Service Extended COM API" functions programmatically. Clearly i would like to invoke the functions like FaxgetJob and the types in that API.         Thanks in advance. You can add a reference to <Drive>:\<WINDIR>\System32\DLLCache\FxsComEx.dll to your project. I tried and it worked with VB6 and VS 2003, VS 2005. Regards, ...Show All

  • Visual C++ How to get the text from MSWord?

    Hi forum members, I’m checking the events that common user creates, but I couldn't find the text when is written in Microsoft Word, the only clue is that I got a EVENT_OBJECT_LOCATIONCHANGE  windows message from the caret that is in a window wich has "_WwG" class name when I type words in the document , do you know a function to get text from this window , I have already used Getwindowstext but I only got the window name and I have used the  IAccessible::get_accValue   function but didn't work, (I work in vc++ and I use SetWinEventHook hook and  IAccessible interface ) tanks in advance ...Show All

  • Smart Device Development maximize form mobile 5.0

    I have a problem maximizing a form correctly. Everything is coded for a Pocket PC under Windows mobile 5.0. Actually, my forms are maximized. When I click a button on one form, it opens another one (all in maximized mode). The problem is that when I close the actual form and want to come back to the original one, There is that Windows title bar on top that appears and stay there until I click on my window to get focus. We have tried several things, such as the window priorities... Still have that title bar on top when I come back to my form. Could anybody help me clarify that problem. Thank you I'm not sure ...Show All

  • Visual C++ project is always 'out of date'

    I recently upgraded a vs 2003 project (standard C++ console application, reasonably complex, links to several libraries including Boost, Blitz++, and fftw). For some reason, since the upgrade, one of the projects in the solution (the startup project in case this is relevant), is always out of date when I do a compile, or run in the debugger. All files in this project are always recompiled, whether any of them have been changed or not. Any ideas what's going wrong, what I should look for Could you please log an issue at http://lab.msdn.microsoft.com/productfeedback/default.aspx . I am sure the owner ...Show All

  • Visual C# Thread problem

    Hi.. I created a thread to watch for closing a window... i make a loop for watching the process that have a Main window..and when a windows closes to do something Anyway my problem is that my CPU goes nuts.. from 3% goes to 90 100% and i gived to someone else and sad that is working fine.. And my CPU is a INTEL Pentium 4 3.2 Ghz and i Have 1Gb Ram.. the hardware shouldn`t be a problem OK, let's say we have a Form called MyForm with a Button called button1 and a Label called label1: // First add the following to the MyForm class: private int wmShellHook; [DllImport("user32.dll", CharSet = CharSet.Auto)] pr ...Show All

  • Smart Device Development Data binding with .NetCF

    Hi all, I'm having some problems to bind data to some controls, exactly, I have two tables Orders and Customers, Orders has a "ID_Customer" fields which is related to Customers table... So the problem is, how can I create a Windows form with all Orders fields but, instead of ID_Customer, I'd like to see a combobox with the Customer_Name related (which is a Customers table field...) Is it possible to assign at each Customer_Name in the combobox the ID_Customer as value So, scrolling the combobox, I'm able to change the Customer_Name of the order, and when updating, I can get the ID_Customer value in Orders table... I'm using VS2 ...Show All

  • .NET Development Access Denied Error on PerformanceCounterCategory.GetCategories(string machineName) call --- URGENT

    Hello to all: I want to get the performance counter categories of the remote computer and i am using the PerformanceCounterCategory.GetCategories(string machineName) method to retrieve the required information from the desired machine. But every time i recieve the "Access Denied" error. I don't know why i am getting this error. I have even turend all the firewalls off but its not working. Please if any one have a solution to this problem, please post as soon as you can. Its URgent. Thanks Regards Shoaib Hello KK: Thanks for your reply. Actually i am a beginner and i don't know much about that. Is there any other way getting aroun ...Show All

  • Visual Studio Getting versions of files with a specific label

    I am trying to get an older version of project based on a specific label. The command line I used is vss get -v <LABEL> $/<project> but it does not seem to be getting the correct versions. Have I done something wrong Or can I actually get older versions of files based on a label Thanks in advance! Thanks for the link - it actually answered my question. The syntax for ss get -v was not clear in the online help pages. The version of VSS we are using is VSS Version 6.0c (Build 9447). But curiously, what would analyzing the database tell me ...Show All

  • Software Development for Windows Vista Handling drop targets on the workflow

    Hi again. I have an application that embedds the workflow. When I create a new workflow, by default, I place a new activity as the first one. I would like to know if there is some way to disallow the user to drop any activities before the one I created, so that activity will always remain on the top of the others. I'm on Beta1 Thanks in advance, Matias If you want to control this from within your custom activity you can write your ActivityValidator #region Validator internal sealed class MyActivityValidator : ActivityValidator { public override ValidationErrorCollection Validate( Va ...Show All

  • Microsoft ISV Community Center Forums VBA runs slowly in Excel 97

    I have a module attached to a button in Excel. The module deletes a number of cells, reads some data stored in a list on a separate sheet and writes some data back to the area deleted, based on criteria in some cells. First time I run it, it runs in seconds. If I run it again it takes minutes. Any ideas I'm thinking it might be due to Excel automatically refreshing or all its calculations on each of the copy your doing, or at least checking if any calculations are required. You can disable this using. Worksheets(1). EnableCalculation = False or Application.Calculation = xlCalculationManual Cal ...Show All

©2008 Software Development Network