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

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

thomaskremmel

Member List

B. Wesley
Jeff Lynch - MVP
Vinci
Tryst
GeneralSQL
RAS.Goss
JohnHarding
sophmoricinbehavior
Riaan van Schoor
Javafun
tirupati_mullick
lung123
bruce bubello
Goat Spirit
Beej80
Radomiak
Robert Palmer
Rohcky
GeorgeCC
jbelisle
Only Title

thomaskremmel's Q&A profile

  • Visual C++ Office 2003 like look not supported in VC.NET

    Hie , I just got Visual Studio 2005 .NET recently .. and i was wondering why the new office 2003 like look is not supported in Visual C++ .NET....... ...the blue toolbar and menus show up in VB.NET , C# and J# but not in VC is it a seperate activeX or something Also i need to know how to do this via win32 API and C (i dont knw C++ and MFC =S) Thanx Gideon um .. i'm not sure wat u mean but... Here .. i BUILT this in C#.. .it still has the look!! and hey wat about this thread's reply wat does it mean ...Show All

  • Visual C# Why .Net languages cannot be compiled to machine code?

    Does anyone know of a logical reason why any .net language cannot be compiled down to machine code except for c++.Net In the end the compiler has to make calls to machine level functions anyways, so wy can it not include those and just copile down to exe machine code form Just curious, since c++.Net can do it either way, I could not find a reason why they could not make c# or any other language do the same thing. Thanks, Chad That's right - the .NET languages are JIT-compiled at runtime, but Microsoft has provided you with a native compiler too! If you want a .net assembly (which contains CIL language, ready to be JIT compiled at runtime) compiled to native code, you can use ngen.exe . You will lose many benefits that the ...Show All

  • Visual C# MSHTML Questions

    Im really new to MSHTML, its becomming crucial that i learn this dll a little bit better and ide like to know if anyone has a good tutorial on c# for mshtml. It would benifit me alot if i could gain a little knowledge about it! thanks for your time.. Hi, Here is the reference and tutorials: http://msdn.microsoft.com/library/default.asp url=/workshop/browser/mshtml/overview/mshtml_editing_ovw_entry.asp Thanks ...Show All

  • SQL Server sqlcmd with trusted connection and IP address or fully qualified hostname

    The command sqlcmd seems to fail when using trusted connection and an IP address or a fully qualified hostname. For example: sqlcmd -E -S nnn.nnn.nnn.nnn where nnn.nnn.nnn.nnn is the real IP address of the machine, or sqlcmd -E -S hostname.domain.com where hostname.domain.com is the fully qualified hostname of the machine, gives the error: Msg 18452, Level 14, State 1, Server 380GX280B05, Line 1 Login failed for user ''. The user is not associated with a trusted SQL Server c onnection. On the other hand, sqlcmd -E -S 127.0.0.1 works, and so does sqlcmd -E -S hostname, or sqlcmd -E -S tcp:hostname,1433. This is on a clean machine, with SQL Server 2005 freshly installed as Administrator with mixed authentication, and t ...Show All

  • SQL Server What is the best way of moving indexes to a different file group in SQL2005?

    I was looking for a simple way to script out the delete and create statements, so I can change "ON [new filegroup]".  There are hundreds of indexes in this database.  If you know an easy way of doing this or a better way please let me know. Thanks. This is more like what I was looking for. I am hoping someone will post a tried and true version of this that they have used. This looks like it handles the majority of cases but if someone used one of the lesser used options like "sort order" it would be lost. Rob, thanks again for the post. ...Show All

  • SQL Server holding matrix column

    I'm developing a report where the user is able to select a bucket size and have the dataset grouped based on the value in a record and count the number of records that fall into that bucket. The example below is a bucket size of 12. the first row is the value range and the second is the record count. 0 - 6 6 - 12 12 - 18 18 - 24 24 - 30 30 - 36 42 - 48 68 10 9 33 5 4 4 The problem i have is, if there is no value for a range that value range is missing as above there is not 36-42 with a rec count of 0. here is the expression i use in the column group to create the groups dynamically based on the user input. switch(Fields!REL_TURN_HRS.Value < Parameters!buck ...Show All

  • Smart Device Development MediaPlayer host sample freezes on Blackjack & Dash?

    I am trying to use the sample CEWMPHostML from: http://www.microsoft.com/downloads/details.aspx familyid=46ba698a-c00d-4b90-9177-460854f1b57c&displaylang=en My program based on that sample works in the emulator and I believe on most devices, but locks up on the Samsung Blackjack and T-Mobile Dash.  Is this a CPU related problem or Media Player control problem or what   Can anyone with one of these devices replicate this   I tried both the Smartphone 2003 and Smartphone 5.0 targets. If anyone is able to test it on a Dash or Blackjack and get it to work, please let me know.  I'm not certain it is failing on the Dash, only got one report of that, and several for the Blackjack. See if this helps. ...Show All

  • .NET Development Static classes with codedom

    If I create a class using CodeTypeDeclaration, how can I make that class static Something like: CodeTypeDeclaration myType = new CodeTypeDeclaration( "MyClass" ); myType.TypeAttributes = TypeAttribute.Static; Unfortunately there is no TypeAttribute.Static (why Did anyone miss anything ), so the above code won't compile. How can I achieve this Thanks for any help. In the CLR there is no such thing as a static class.  C# 2.0 introduced the ability to declare a class "static" to indicate that it could not not be instantiated and all its members would be static.  But, after the class is compiled, its just a regular class which is both abstract and sealed (thus preventing it from ever be ...Show All

  • Visual Studio When Sharing a folder containing a project, the .vspscc files go crazy, or duplicate

    Following a suggestion from the VSS Help, regarding ways of maintaing to separate code version for a project, eg a released version, and a developement  version, where fixes from a released version would also be merged into the development stream. I shared our main project folder, instead of just branching it, to save space, so that for bug fixes, we would just need to branch specified files. An addition necessary step was to branch the actual project files (.vcproj) along with the associated vspscc files. This seemed to be necessary for visual sudio to be able to work with these projects and use source control. When I tried to branch the vspscc files they seemed to duplicate themselves. E.G. They would continue to to maintain a ...Show All

  • Windows Forms How to clear the cache in Webbrowser control using Wininet API

    Dear all, I am trying to clear the cache in webbrowser control, I have used the sample code given in the MSDN( http://support.microsoft.com/default.aspx/kb/326201 ). But it is clearing the whole cache and sometimes iam getting context Switch deadlock exception.. How to clear the known cache entry..i.e i know the URL entry that needs to be removed from cache. the problem is iam directing Webbrowser control to change password screen when user presses ChangePwd button, once he logged in to page, every time when user clicks chnage pwd button it shows the Change Pwd page, instead of login page. I tried one more solution, like everytime i am diposing the webbrowser control and loading it again, but that also doesn't clear the cache. but if you o ...Show All

  • .NET Development Events latency

    Hello, i've got app synchronizing computer datetime via connected GPS receiver. Now i found out that when computer gets busy, GPS datetime incoming events are delayed. What can i do, please Would app priority increase help, if so, could you be so kind and post link or sample how to do that and what priority level to choose, please Will be this working even i'm using SerialPort (i think it runs in separate thread on the background). Thank you! Without some sort of tag included with the time that shows when the time was sent you can't compensate for latency. The simple network time protocol , for example, includes information that a client can use to compensate for the latency between when the response ...Show All

  • Visual Studio Team System CTP5 - Can't connect to a database

    I recently installed CTP5 and created a SQL Server 2005 project, but it does not prompt for a database to connect to (like it did in CTP4). When i select Tools\Connect to Database from the menu. I get a message pop-up stating "Package load failure - Package 'Visual Studio Explorers and Designers Package' has failed to load properly". I get the same message when I try to open a new query connection. Any help is appreciated. Ed I did all of the above - twice - with no luck. Still get the same message. This morning i uninstalled everything including VS 2005 Team Suite and then installed everything again - still have the problem. Thanks, Ed ...Show All

  • Visual Studio Tools for Office Outlook 2007 Ribbon Observations/Questions

    i have developed a custom ribbon for a custom message class: "IPM.Contacts. MyCustomClass " i note that inside the GetCustomUI() method I can;t seem to trap whether the ID relates to a custom message class or note, as they both come out as "Microsoft.Outlook.Contact". So I am assigning my custom ribbon to both the standard outlook form and mythingie form at this point. Am I doing this bit right case "Microsoft.Outlook.Contact" : return Properties. Resources .MyCustomClassRibbon; so next i am hiding/showing my tabs on my custom ribbon depending upon whether the messageclass is custom or not which i am ascertaining using GetVisible callback methods. but i dont think this is right because i am ...Show All

  • SQL Server Sql Connection errors

    I dont know why but.. I keep getting an sql error here.. private void button1_Click(object sender, EventArgs e) { SqlConnection sqlcon = new SqlConnection( @"Server=(local)\sqlexpress;Integrated Security=True;" + "Database=mydb" ); sqlcon.Open(); } this is the erro that I keep getting.... {"Cannot open database \"mydb\" requested by the login. The login failed.\r\nLogin failed for user 'XLORDT\\xlordt'."} now.. Im using sqlexpress the one that comes with visual studio.. what do i need to do to fix this Ok.. I got that part done :) thanx god.. but.. how would I add the user I created in to the db that I created in visual studio I get this..\ Failed to generate a ...Show All

  • Visual Studio VS2005 gives warning when installing in Vista

    Using the RTM version of Vista Ultimate when I install VS2005 I get a warning that there's a known problem with the VS2005 devenv.exe. When I click on the button to find the solution none is found. Is there one If so what is it "Visual Studio 2005 SP1 Update for Windows Vista Beta - COMING SOON" But in the meanwhile you have several options to run under Vista: Run devenv.exe as an administrator (right-mouse click, properties, compatibility, run as adminstrator) Disable UAC (not recommended) ...Show All

©2008 Software Development Network