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

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

CumQuaT

Member List

StevenR2
simmonsj_98
oaix
David Scherf
matthew lyden
Paul Tew
Talahaski
DKB
frappy666
Rassol
lain
starfox96
Eagleguy125
hmayer
Arska
DEEPAK GARG
Arindam Biswas
Shildrak
vtortola
tornin2
Only Title

CumQuaT's Q&A profile

  • Visual Studio 2008 (Pre-release) Access navigation Window elements

    I have a navigation window defined in the app and the Source property is set to a XAML file. < NavigationWindow x:Class = " Mynamespace.MainNavigationWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Name = " NavigationBar " Source = " Page1.xaml " > I have defined some text blocks in the Navigation Window’s content presenter like this < ControlTemplate > < TextBlock TextDecorations = " None " > < TextBlock x:Name = " Link1 " > < Hyperlink > My ...Show All

  • SQL Server Dose SQL Server 2005 support SNMP walk or SNMP Get?

    I know 2000 supporting SNMP. How about 2005 I would like to know the answer to this question as well. Did you get any personal email answers regarding your question thanks jason ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. load content without Game

    I started a new GSE project and deleted the game instance. Instead I am using a windows form with a graphics device attached to a panelonthe form. This works fine. My problem is I can't get any content to load. Can I load content through a ContentManager without an instance of Game Thanks for any input on this. Don't use the GraphicsDeviceManager, just implement IServiceProvider yourself. It's only one simple method: object GetService(Type) ...Show All

  • Visual C++ namespace std - problems

    When I'm creating console application, everything is correct, but when CLR: Windows Forms App I cannot use namespace std. For example this... --------------------------------------- // vec3.cpp : main project file. #include <vector> #include <list> #include <stack> /* ... */ #include "stdafx.h" #include "Form1.h" using namespace vec3; [STAThreadAttribute] int main( array <System::String ^> ^args) { std::vector< int > abc (5); // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault( false ); // Create the ...Show All

  • Visual Basic Windows Form KeyDown Issue

    With this code: Private Sub Form1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown Select Case e.KeyCode Case Keys.F9 Button1.BackColor = Color.Azure Case Keys.F10 Button1.BackColor = Color.Magenta End Select End Sub one would expect pressing F9 to set the background color to Azure and pressing F10 to set the backgroung color to Magenta, which does happen. However, after pressing F10, F9 does not work. Pressing F9, F10, F9, F10, F9, F10 should toggle the background color, but it doesn't. This key combination will toggle the background color: F9, F10, F10, F9, F10, F10, F9, etc. Why does F9 not trigger the KeyDown event afte ...Show All

  • .NET Development Sql server 2005 ==> 1000 times slower than sql server 2000 ! WHY ?

    I'm using the developper edition of sql server 2005 with VS2005. Sometimes it works very very slow. I don't know why ! The processor is at 5% but the execution blocks at adapter.Fill(ds). This is the code: public static DataSet GetDataSet( string sql, params SqlParameter [] parameters) { SqlConnection con=GetConnection(); using ( SqlDataAdapter adapter= new SqlDataAdapter ()) { using ( SqlCommand command= new SqlCommand (sql, con)) { foreach ( SqlParameter p in parameters) { command.Parameters.Add(p); } adapter.SelectCommand=command; DataSet ds= new DataSet (); adapter.Fill(ds); command.Parameters.Clear(); con.Close(); return (ds); } } } Is ...Show All

  • Software Development for Windows Vista install infoPath workflow application on sharepoint server 2007 problem

    i had follow the ECM workflow example - HelloWorldSequential demo and construct a simple infoPath workflow app. that contains two infoPath form. After the project compiled and feature.xml, workflow.xml, install.bat were defined, when i run the install.bat, it shows "The XSN can not be used on server." But when i run the demo install.bat, it could complete the setup successfully. Anybody can help Navigate to a command prompt, navigate to this folder: %programfiles%\common files\microsoft shared\web server extensions\12\bin and execute this command on each of your XSN files: stsadm.exe -o verifyformtemplate -filename <complete path to your xsn including the name.xsn> See what error you are getting ...Show All

  • Windows Forms deselcting text in combobox textfield after selectedindex has been changed

    Hi, I would like to deselect the text (i.e set the cursor at the end, no highlighting) of the textfield in a combobox after an index has been selected. As it is now the item that has been selected its text is also highlighted. The functionallity I'm looking for is that after an item/index is selected the user should be able to add text to the combobox's textfield without placing the cursor last and deselct highlighted text. I've tried Combobox.Select(Combobox.Text.Lenght, 0) in the Combobox_SelectedIndexChanged event, but No Luck Any Suggestions Unfortunatly OnSelectionChangeCommitted fires before OnSelectedIndexChanged. Even OnMouseCaptureChanged and OnTextChanged are fired before. But the whateve ...Show All

  • Windows Forms How can i get the TabPage Name?

    if i click the TabPage1 the string TabPage1 is store in string variable how can i do this private void tabControl1_Click( object sender, System.EventArgs e) { TabControl tb = (TabControl)sender; MessageBox.Show(tb.SelectedTab.Name); // it will gets the TabPage Name MessageBox.Show(tb.SelectedTab.Text); // it will gets the TabPage Caption } ...Show All

  • SQL Server Calculated field in a dataset

    Hi All, I have a dataset with the following fields Name Value ABC 100 DEF 150 GHI 180 Now i need to have a calculated field DIFF which will calculate the difference in the value of the current row and the previous row. The report should have the following fields: Name Value DIFF ABC 100 NULL DEF 150 50 GHI 180 30 Any pointers on how to achieve this requirement will help. Thanks in advance, Arun You can do this with a custom function. Place the following, in the Code section of the Report. Using Report Designer this is on the Code tab of the Report Properties Dialog. Private m_previousValue As Integer = 0 Public Function ComputeDifferen ...Show All

  • SQL Server Can you unpivot on multiple keys with the unpivot transform

    Hi all, I have more than 1 set of columns I'm trying to normalize, can an unpivot transform handle 2 unpivots around DIFFERENT keys in the same transform If not, would the suggestion be unpivot into temp tables for whatever needs normalizing, than run an update query to generate the row that is desired Thanks in advance. Mark Mark Frank wrote: Hi all, I have more than 1 set of columns I'm trying to normalize, can an unpivot transform handle 2 unpivots around DIFFERENT keys in the same transform If not, would the suggestion be unpivot into temp tables for whatever needs normalizing, than run an update query to generate the row that is desired Thanks in advance. Mark ...Show All

  • Visual Studio Express Editions textbox and the user

    how do i get the user to enter text in the textbiox, and use that value to use the msgbox to confirm its correct. Public Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles viewart.TextChanged viewart.Show() newtext1 = viewart.Text If newtext1 = "" Then Exit Sub End If MsgBox(newtext1) with this as soon as i press 1 character the msgbox shows. sorry, i was just making comment on the way i used the " if, then " staements and you used the msgbox. im not sure at this po0int how it wouod have looked. just forget that comment. since i have started, i have progressed quite far, i still have probs im not sure ...Show All

  • Connected Services Framework CSF tools/mmc

    hi, I have installed the dev lite version on my pc. The only mmc available is the CSF session. Any idea what happened to the IDM mmc Also only the message visualizer is available. Other tools for service catalog, IDM are not available. How can I get these thanks Yes MV is available on my pc. I can see the IDM web service under the default web site - does this mean the IDm is installed if yes, then I still dont have IDM MMC visible. How can I get the UDDI interface then thanks for yur help ...Show All

  • Smart Device Development how to show dll files in file explorer?

    Hi all, does anybody knows how to show dll files in File Explorer in Pocket PC 2003 SE Emulator I know I can use the remote file viewer to see the dll files but i want to see it in File Explorer. I tried running the BarCodeSample example from Intermec but it kept saying that it cannot find ITCScan.DLL in the Windows directory of the emulator. I have, using the remote file viewer, added itcscan.dll into the windows directory. I have even change the name to ITCScan.DLL in case it is case sensitive but to no avail. What can be the problem How do I view dll files in File Explorer Atiz You need to enable 'view All files' to see the dlls. Click and hold in empty space in the file explorer. In ...Show All

  • .NET Development Create class instance similar to "CreateObject"

    I want to create objects by their name like its done in vbscript with "CreateObject". I'll get the Type by GetTypeFromProgID(name), then get the location of the corresponding Typelibrary by querying the Registry fot the "InprocServer32" hive of the Type's GUID. Now i can load the TypeLib via LoadTypeLibEx and build a .net Assembly using TypeLibConverter. Thats it so far, here comes the difficult part: With Activator.CreateInstance i get System.__ComObject, so i need the "original" Type to be able to invoke methods of my instance. To get the "original" Type i need the fully qualified class name to pass it to Assembly.GetType(). The other way around, i can pass the fully qualified class name to Assembl ...Show All

©2008 Software Development Network