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

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

KWWF

Member List

SarahH
Richard Hathaway
Justahobby
tbohon
Brian Lounsberry MSFT
mdon
Bob Walter
SIVAPRASAD S - SIVA
osj
Simon Detheridge
jojolimited
Wagner K.
GS-US
Dan Moreira
chen55347
Mark Guinness
Alekos66
Joe Lee
marwansiala
Lukasz Kalinowski
Only Title

KWWF's Q&A profile

  • Visual C# DLL - What`s that :D

    Hey i`m not so good with dll`s in fact i know allmost nothing about them The only thing i know about them that they are programs too and u pass information to them/.. but i dont think that eather good So My Questions Are: 1. What is a DLL 2. How to use a DLL 3. Makeing  a DLL (the language) 4. How to know what a DLL contains   Thanks A lot Guys !!! Hi, A DLL stands for a Dynamic Link Library. I will answer these questions from the perspective of .NET and Visual Studio. 1. In .NET, a DLL is a .NET assembly which gets generated when you compile a project of type class library. 2. A DLL ...Show All

  • .NET Development How to get namespace from object name (as string)

    Hi everyone, I try to write a function to return a namespace based on the name of the input object ( as string). For the most cases I can use Type.GetType(objName) to get the namespace back. However, I have seen some special case like "System.Diagnostics.Debug" "System.Collections.Generic.List<string>" .... and Type.GetType(objName) just return null. Are there any way to do this in C# // Need help private string GetNameSpace(string objName) { Type type = Type.GetType(objName); if (type != null) return type.Namespace; ...Show All

  • Visual Studio Subreport, business objects, VB, Local report

    I've been looking at the Orders example (from GotReportViewer.com) and some of the other examples, trying to figure out how to get a subreport to work using business objects. I seem to have it all correct but I get: Error Subreport could not be shown. I'm using AddHandler for the LocalReport.SubReportProcessing call and it seems to work because the Subroutine gets called for each master record in the report. I have the parameter to tie the main report to the subreport; my key field is text instead of the example's integer but that should be ok. My datasource for the subreport is a List (of ) detail records. Is there any way to find out just ...Show All

  • SQL Server REPLACE Integers with Text Data

    I am working with a database named “Documents” that contains 4 categories of text documents, each having its own number designation in an integer datatype column named SectionTypeId: 1 = Text 2 = Report 3 = Background 4 = Index I would like to create a new column named “DocType” in which the integer data type for each document is replaced with a varchar data type letter (1 = T, 2 = R, 3 = B, 4 = I). I was able to easily create the new column and cast the data type from integer to varchar: --CREATE NEW COLUMN “DocType” WITH VARCHAR DATATYPE ALTER TABLE FullDocuments ADD DocType VARCHAR ( 1 ) ...Show All

  • Visual C++ Program terminates without finishing code

    hi... what is happening when a program terminates (no error messages) without executing the rest of the code my code is attached below. The while loop does not iterate and after one iteration, my program exits. I don't know what is wrong and how I can debug... Thanks for any help. #include <stdio.h> #include <speex/speex.h> #define FIXED_POINT #define MaxFrameSize 500 #define MaxFrameBytes 500 int main (int argc, char ** argv) {     printf ("sampleDEC.exe started!\n"); /**/     int nBytes, FrameSize, BitRate;     FILE *fin, *fout;     char *inFile, *outFile, *PEnhancemen ...Show All

  • SQL Server semicolon terminator

    Can someone define for me what is a statement when it comes to having to use semicolon statement terminator This is absolutely undocumented in BOL. Googling only finds this incoherent article which is far from official documentation. TIA actually I think that is a very good article outlining the usage of GO and statement terminators. GO separates Script blocks ; defines the end of a statement within a script block. what is unclear ...Show All

  • Visual Basic datagrid autosize column: how?

    How to autosize datagrid's column width to fit the contents of a field in VB.NET Hello   There is a good sample on this on SyncFusion.com http://syncfusion.com/faq/windowsforms/search/877.aspx . Also there are many other datagrid samples on this link  http://syncfusion.com/faq/windowsforms/search/877.aspx .   Thanks Sunder vb.net ...Show All

  • Visual C# Infinite integer

    Hi, my application is using some integers which is too big for int32 and even int64, can anybody tell me how to create infinite integer variable that can accept very large numbers Thanks, You could write your own BigInt with perhaps two Int64 values as its backing store. Have a look at structs and operator overloading in .NET Framework docs. Also have a look at the Decimal, its a great example of a custom data type that has been written for the .NET Framework. ...Show All

  • SQL Server Creation of credentials and certificates to protect a DB

    Hi, i want to know if its posible to create credentials or certificates in order to protect a SQL 2005 data base. Because if someone Buckups one of my DBs from my server, and try to restore it in orther server i dont want they to see my DB information because he dont have the correct credentials or certificates for it. This is posible . if is, How i do it Best Regards. You can use encryption, so that if a database is stolen, the thief cannot retrieve the original data. For more information, please consult the resources mentioned in the second post of the following thread: http://forums.microsoft.com/MSDN/ShowPost.aspx Pos ...Show All

  • Smart Device Development Using Modal forms on a Smart Device

    Hi all, is it possible for me to use Modal Dialog forms on Smart Devices I want to be able to load up a Modal Dialog from a Form, filling in the Controls on this Modal Dialog, and then close this Modal Dialog and have the data that I entered in the Controls display in Controls on the Form that opened the Modal Dialog. Device used: QTEK. Using: VS 2003, .NET 1.1. Hope you can help. Thanks Tryst Yes, modal dialogs are shown with ShowDialog() instead of Show(). As to data transfer, it's up to you and no different than accessing data in one class from another. ...Show All

  • Software Development for Windows Vista Problems migrating a TrackingService implementation from Beta1 to Beta2

    Hello, I'm migrating an implementation of a TrackingService generated and tested with Beta1, and when I use it with Beta2 and continue a workflow instance it does not track anything, but it works creating a workflow... Is there any changes that I have to do to use it with Beta2 engine Regards, M There are also some notes about using that document here . Cheers, Paul ...Show All

  • SQL Server Bug or Feature?

      When upgrading a database from MSDE to Visual Studio 2005 Express, I've noticed that the system tables in the MSDB database don't get upgraded.  For example, the SYSSCHEDULES table doesn't get added.  Is this by design or a bug -Doug Hi Doug, This has been addressed in SP1, which you can get from http://msdn.microsoft.com/vstudio/express/sql/download . Regards, Mike Wachal SQL Express team Mark the best posts as Answers! ...Show All

  • SQL Server Error when opening Designer

    When I try to open the designer (with exiting, e.g. tutorial or new project/package) I get the following error message: Microsoft Visual Studio is unable to load this document: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. After closing the project I have the following application event log error: Faulting application devenv.exe, version 8.0.50727.42, stamp 4333e699, faulting module unknown, version 0.0.0.0, stamp 00000000, debug 0, fault address 0x014fb87c.     Did you find a solution to this I am experiencing ...Show All

  • SQL Server Formatting Job Step Commands

    When I create a script for a SQL Agent job I like to format the job step command with tab's and line-feeds using CHAR(9) and CHAR(13) respectively within a string of SQL.  This then gives me a nicely formatted string when you view the job through EM. If I view the same job through 2005 Management Studio the step commands that were so nicely formatted  in 2000 EM are now just one long line, wiht no formatting. Is there a way that I can format the step command string as I creat the job through my SQL script ...Show All

  • Visual Basic third-party installer for choice and security

    Does vb.net express offer a way for the developer or user to decide where an app would be installed or is a third-party installer necessary If so, any recommendations Visual Basic Express only supports ClickOnce publishing, which doesn't allow control over the installation location, however it does have many benefits such as the ability to automatically update the application. Is there a particular reason why you need to control where the app is installed If not, take a look at CllickOnce; is so, then a third-party installer (or the full version of Visual Studio, which includes Setup and Deployment proj ...Show All

©2008 Software Development Network