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

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

Brian_Kramer

Member List

Joao Matias
Olivier Sanzot
wabroussard
jasin14
engfellow
Daniel Rodriguez
Brad Huffman
Jensk
Wyck
Pietje_Gates
keeperman
Barry Mavin
Hobbit666
JMN CandyBeat
just.a.nerd
fahadmoon
bopritchard
Jason Priddy
Aruna S Ramachandran
phokaia
Only Title

Brian_Kramer's Q&A profile

  • Smart Device Development 2019 Linker Error

    Howdy folks, I am using the embedded Visual C++ 4.0 and receive the 2019 error whenever I attempt to link my project.  I have checked Gangadhar_MSFT's blog posts on the subject.  I tried to do what was suggested and nothing seemed to work.  I'm honestly at a loss on how to fix this.  I've checked online and everything seems to be based on VS2005. I tried to include windbase_edb.h and the compiler tells me it doesn't exist.  "Fatal error C1083: Cannot open include file: 'windbase_edb.h': No such file or directory"  I cannot find a place online to download the header file. I can't figure out how to do one of the ...Show All

  • Windows Forms Inherited Extender Property Defaults

    I've created a new extender component which extends a "Participates" property to other controls on a form.  If I drop that on a form (form A) along with a toolbar I'm able to set the toolbar's Participates property - no problem. Both the toolbar and the extender component are set to "Protected". When I derive a form B from form A&nb ...Show All

  • SQL Server Problem to connect to Reporting Services 2005 from Enterprise Managment Studio

    Hi Guys and Gals Need to get some help from you Guys and Gals. After I install a MS SQL 2005 SP1 and also renamed my SQL 2005 instance, I can't connect to my reporting services from my enterprise studio. Cannot connect to CSAVSTEST3. The error message as the following" The remote name could not be resolved:' csavsstestsev3'. This is the error message I am getting only apply on reporting services, I don't have any problem to access my database, intregration and analysis services after I rename my instance. Please let me know do you have any idea for my problem, Thank you so much everyone. Timothy Try connecting ...Show All

  • Software Development for Windows Vista Error Installing December CTP

    I have WinXP profesional with SP2 installed on my machine. I have 2 partitions C: and D:. I have selected to install Vista on D:. Free space available on D drive is more than 9GB. I am getting error as follows: "Setup was unable to locate a locally attached hard drive suitable for holding temporary Setup files." Please let me know, if there is any solution to overcome this problem. I even tried installing in VirtualPC with 10GB of HDD. I am getting same error. Which build of Vista are you trying to install If it's 5270, you will need at least 16GB of space. For previous builds, you will need ...Show All

  • .NET Development Dynamic invoking and enumerations and indexes

    Hi I've been able to dynamically create instances then invoke methods and properties of those instances using classes using the 2.0 framework. For example .. ObjectHandle objectHandle = Activator.CreateInstance("Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91", "Microsoft.SqlServer.Management.Smo.Index", new object[] { tableInstance, "NewIndex" } ); object instance = objectHandle.Unwrap(); Type instanceType = instance.GetType(); PropertyInfo propertyInfo = indexInstanceType.GetProperty("Clustered"); propertyInfo.SetValue(instance, true, null); The above code is the same as ... Index ...Show All

  • Visual Basic Calculating Elapsed Time Based Upon Two Values

    I'm having issues coming up with a solution to what is hopefully an easy fix.  Here's my problem: I want to calculate an elapsed time from two values expressed in minutes.  I have one text box that contains a value for the "Start Time" and another text box that contains a value for the "End Time."  Both of the values are expressed in a format for military time (i.e. 1200, 1300, 1430, etc.).  When the "End Time" text box loses focus, I would like the "Elasped Time" (expressed in minutes) to appear in a third text box.  Seems easy enough...right Well the problem I'm having is since the first two numbers in m ...Show All

  • Visual C# StreamReader and File Position

    I'm processing large binary files. These are PCL files, and I'm looking for page boundaries. I want to store the position of each Form Feed, which in PCL is decimal 12, hex 0C. However, that byte can also exist as part of a raster or other binary structure. So I loop through the file, and when I find a "12", I read ahead 14 bytes to compare them to a known string. If I get a match, I know the 12 was a real Form Feed, and I store it's position in an ArrayList. This works fine using a FileStream object and its ReadByte() method and .Position property. The problem is it is very slow. I'd like to use a StreamReader to take advantage of buffering ...Show All

  • Visual Basic Implementing IEnumerable(of T) interface in generic collection class

    I am trying to implement the IEnumerable(Of T) interface in a generic collection class, but I can't figure out how to implement the GetEnumerator method of this interface. I have seen this done in C# using a simple foreach loop like this: public class CustomList<T> : IEnumerable<T> { private List<T> list = new List<T>(); ... #region IEnumerable<T> Members public IEnumerator<T> GetEnumerator() { foreach (T item in list) { yield return item; } } #endregion #region IEnumerable Members System.Collections.IEnumerator System.Collections.IEnumerable.GetEnum ...Show All

  • .NET Development any way to increase performance here?

    we're using DB tables for translated strings for app localization ... as each supported language is called for the first time, an application-level object needs to populate that language's Hashtable. The DB table and hashtable involved are expected to grow rather large ... is there anything more I can do, beyond what's below, to increase performance nocount is on, connection string is established by IP, proc returns only the necessary values ... is GetOrdinal faster than Get[Type] private void PopulateLanguageHash( ref Hashtable langHash, string cultureCodeTwoLetter) { connDB = new SqlConnection (connString); c ...Show All

  • SQL Server Display Dynamic Column in the report

    Hi Friends, I need to display dynamic columns in the report. I have to show column list to the end user then he/she will select his usefull column and then I have to display the selected coumn in to the Report. other column should not be visible in the report. Any body know hot to do it Nilay You could easily set up a parameter for each column and then display that column conditionally based on the parameter. For instance, if you have a column that displays First Name, you could have a parameter called DisplayFirstName. Then in design view you'd select the whole FirstName column and in the Visibility-Hidde ...Show All

  • SQL Server How to determine Count of ties in MDX?

    I need to determine the number of values in a set that are non-unique in the set. In SQL, I would do the following: select sum(value_count) as Ties from (select value, count(*) as value_count from source group by value having count(*) >1 ) In MDX, I have a set defined in a query that is passed into several custom statistical functions. I would like to be able to accomplish this without writing another external function, as it seems the sort of thing that should be easy... Here is the query I'm trying to plug this into. Suggestions welcome. with set [data] as ( nonempty ({ ...Show All

  • Smart Device Development Receiving SMS example

    Hi all, Have anyone tried the Receiving SMS example from the MSDN library There seems to be a problem... It seems that I can deploy it to my PPC but an error of MissingMethodException at the function call to DllRegisterServer() will always occur. Need help urgently!!! Hi Vnewbie    U asked for a converted app for VB but then said got tat exmple already, wer did u get it from can u pls help me... cz i even need the same in VB... Tanx in advance... ...Show All

  • Visual C++ Resource editor

    I have a C++ project that was written with VS2003 which has conditional resources for different builds of the project.  I can compile the project in VS2005, but I can't edit the resources.  When I try to open the resource editor I get errors, such as "error RC2135: file not found: BITMAP.  The .rc lines are: #if defined (APSTUDIO_INVOKED) || defined (PRIVATE) #if defined (APSTUDIO_INVOKED) IDR_MAINTOOLBAR$(PRIVATE) BITMAP "MainToolbar.bmp" #else IDR_MAINTOOLBAR BITMAP "MainToolbar.bmp" #endif #endif The error is occuring on line 3 above. How can I fix this Paul ...Show All

  • Visual Studio Express Editions I want to save the listbox to a file .i will look the listbox when i open the program again.and how do i?

    the same subject Hey, You can't save the listbox, but the data for the listbox. What is your data source. Brian ...Show All

  • Windows Forms Binding columns...

    I have a datagridview with two columns (ID, Customer). I use the next code to fill the datagridview: dim strSQL as string = "SELECT CustomerID, CustomerName FROM Customers" da = New OledbDataAdapter (strSQL, conn)  da.Fill(ds, "Customers") datagridview1.DataSource = ds.Tables("Customers")   'conn is my connectionstring to an Access DB   'ds is my dataset The thing is ...Show All

©2008 Software Development Network