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

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

Hamish_Crerar

Member List

Gabriel Méndez
Thomps
MatHobbs
barkingdog
george moudry
Capitán Cavernícola
deen
Rask
Evan Haklar
CHolmes
REspawn
DBLearner
Mega Egypt
Dmitriy Ovdienko
kumarvk
m0nkeyforce
Al33327
Pockey
KAllbritain
Billr17
Only Title

Hamish_Crerar's Q&A profile

  • Windows Forms Screen resolution affects GUI

    Hi, I've developed an windows application in VS2003 (VB.NET) and set form window size as maximized. Problem is, GUI affected b'cos of different resolution in deployment PC. My Development PCs Max .Resolution is 1400 x 1050 (32 bit). Deployment PC has a Max. resolution of 1024 x 768. Many controls are out of the screen. How to bring the exact GUI what i designed before . I've seen an article in Code Project. but i Couldn't get a clear Picture abt the concept. Sometimes Manually , I'm adjusting the GUI. Please give me good solution for it. I want to design an apps that fits to all kind of screen. Thank You! You need to redesign your form to fit the minimum resolution you may ...Show All

  • Visual Studio Team System re-running webtests containing viewstate

    Hi, I have recorded a webtest (logging into the portal, inputting some values and getting response and logging out). The input values I give here are the start and end date and time values. When I re-run the webtest, it works perfect, until I change the start and end date values and try to run it again. It fails if I change the input values. The request contains the form post parameters -EVENTTARGET = {{$HIDDEN1._EVENTTARGET}} _EVENTARGUMENT={{$HIDDEN1._EVENTARGUMENT}} _VIEWSTATE={{$HIDDEN1._VIEWSTATE}} and as the last parameter _EVENTVALIDATION={{$HIDDEN1._EVENTVALIDATION}} I have seen some posts suggesting to replace the hidden viewstate value with the name of the variable. I changed the viewstate, the test throws ...Show All

  • SQL Server SQL Server 2005 SP2 Fails

    I have a Windows Server 2003 Enterprise Edition SP1 with a couple of SQL Server 2000 instances on it and two SQL Server 2005 instances on it.  I tried to install SQL Server 2005 SP1, but kept getting failures.  I saw that SP2 fixed some of the issues with installation issues that SP1 had.  So, I tried to install it.  Some of the smaller components install successfully (VSS Writer, Backward Compatibility, SQLXML4, MSXML 6.0 Parser, Native Client, Support Files), but all of the base services fail to install (Database services, Reporting Services failed for two different instances).  I've downloaded the SP2 from the Microsoft site local to that server and install from there.  I don't have space problems on ...Show All

  • Visual C# CreateObject equivalent function in c#

    What's the C# equivalent to the VB 'CreateObject' function. I want to do this for using SQLXMLBulkLoad Here's the VB code I want to convert. set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkload.3.0") objBL.Execute "SampleSchema.xml", "SampleXMLData.xml" Thanks for your help Sai Probably this is what you need SQLXMLBULKLOADLib.SQLXMLBulkLoad3Class objXBL = new SQLXMLBULKLOADLib.SQLXMLBulkLoad3Class(); objXBL.ConnectionString = "Provider=sqloledb;server=server;database=db;uid=id;pwd=password"; objXBL.ErrorLogFile = "SQLXML3Books.errlog"; objXBL.KeepIdentity = false; objXBL.Execute("Books.xsd", "Books1.xml"); ...Show All

  • Windows Forms load child forms of MDI on a separate thread

    Hi, I have an MDI form where I am loading different applications as children of the MDI form. The applications are not a part of the MDI project, so they are loaded dynamically, providing the path to the application's exe file and a form name. Dim loAssembly As System.Reflection.Assembly = System.Reflection.Assembly.LoadFrom(lcApplicationPath & lcApplicationName) Dim loType As Type For Each loType In loAssembly.GetTypes() If loType.Name = lcFormName Then Dim loForm As Form = CType(Activator.CreateInstance(loType), Form) loForm.MdiParent = Me loForm.Show() End If Next It takes time to load some of the applications and I was wondering if there is a way to load the applications ...Show All

  • Visual C++ Get Edit Box key pressed in Dialog's Timer event....

    Hi I want to do s simple task but it is creating a problem for me. I have one Edit Box in my T_Diag_WinDlg.cpp file. I have created Initials.cpp and Initials.h file to get a pressed character value. I can get that character in CInitials::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) method. But I want to retrive this character in my dialog form i.e. T_Diag_WinDlg.cpp 's Timer Event . Along with that character I also want some notification in my timer event in T_Diag_WinDlg.cpp file that key is pressed. I tried to declare a global variable at different files Initials.h, then T_Diag_Win.h (Main App Form). But it is giving some error. In short, is there any way I can get the key pressed in Edit Box to my Timer Event funct ...Show All

  • SQL Server Can Code be used to define parameters in a subscription?

    I am trying to create an email subscription that runs every Monday for the previous week. To do this I was trying to set the start date parameter to dateadd("d", -7, today()) and the end date parameter to dateadd("d", -1, today()). However, every time I change it to anything but a static date value, the screen refreshes and changes the code back to the default date. I know I can set the defaults to the previous week in the report itself but I already have another subscription that runs the same report as MTD so the parameter defaults are set to that. The only other way I can think to accomplish this is to create a copy of the report with the only difference being parameter defaults (which I don't think is a good sol ...Show All

  • Visual C# Can't Create Chinese Resource file Resource.zh.resx under App_GlobalResources

    I found that I cannot add the Chinese Resource.zh.resx under App_GlobalResources (all the other languages are fine). When I tried to build the project, Visual Studio 2005 error out: The namespace 'Resources' already contains a definition for 'Resource' Removing the Resource.zh.resx and re-compiling the project will work again. The resources on the Web say that I can add an assembly resource file, but there is no such file type in my Visual Studio 2005. It only has resource file. I am little frustrated by this missing file type in the Add New Item dialog. Is there something wrong with my Visual Studio 2005 ...Show All

  • Software Development for Windows Vista e-book about workflow foundation

    I am trying to learn WF I studied HOL but still have many difficulties in developing a project. Please give me link containing  e-book and other tutorial with many samples.  many thanks   A book may be helpful, but there are dozens of examples on this site. Just have a look in the custom activity area, download and start some of the examples. This will give you a good start. As the workflow foundation is still in Beta state, there are only a few books available and these may be outdated when the API is released in a few weeks. Therefore, I think the best resource is this site. ...Show All

  • SQL Server Reduce time query in ApllicationName ".Net SqlClient Data Provider"

    I use Report services with SQL server I have a report with a table, and with a big query who contains 4 parameters. If users choose some parameters the query is fast but sometime it s very slow... In the SQL Server Profiler , I can see that is really the query who's very long . With the ApllicationName ".Net SqlCLient Data Provider" the query during 5mn30 if i execute the same query with replaced parameters in SQL Sever Management , it s ok . (with SQL Profiler : ApplicationName "Microsoft SQL Server Management" during time = 2s ) Someone can help me Is there anything to increment memory cache or something like that ... ...Show All

  • Visual C++ regarding VC++ Fatal error c1083

    hi im porting a vc++ application into Managed VC++. so im making a win 32 dll file .In that im adding some .H files and including in my class then im getting fatal error c1083 cannot open include file. actually im including the files given by eicon corporation(x25proto.h). How to solve this,im not able to proceed further. given below is my code // IPOVCDLL.cpp : Defines the entry point for the DLL application. // // "/#if !defined(X25PROTO_H__774091B5_DDEF_11D7_BF51_008048B539D8__INCLUDED_) #define X25PROTO_H__774091B5_DDEF_11D7_BF51_008048B539D8__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000\" #include "stdafx.h" #include &l ...Show All

  • Visual FoxPro Change tooltips when Hovering over a grid cell.

    I am not sure if this is possible: I need to implement something like the new memo field content preview (When you hover over a memo field of a grid, it will show its content in a tooltip style). I need to show some additional info about a customer when the user is hovering over the account # in the grid. I have tried to manipulate the tooltip of the textbox, or the tooltip of the column at run time and it didn't work for me. Is this possible I'd rather not use a click or doubleclick to open a form, but rather hover over a cell in a grid. Thanks. Cetin; So, you are using this to get the value of the cell under the mouse... Is there a better way to do this with VFP9.0, or shou ...Show All

  • Visual Studio Navigate to the implementation instead of the interface definition

    When you right click a method, you can choose "Go to definition" and if the data type of the object is an interface, you will navigate to the interface instead of one of the implementation. If the object type is an interface, I would want to choose from a list of the implementations instead, and be able to navigate to an implementing class. As far as I know, it is not possible to navigate to the implementation directly from Visual Studio 2005. Is there any plugin that will enhance the navigation capibilities of Visual Studio 2005, to let you navigate to an implementation instead of just going to the interface Hi Tom, You are correct - VS 2005 does not have this feature. I am not aware of any ...Show All

  • Audio and Video Development Text to Display Rending

    Here's the issue in the simplest terms I can explain it. This all started with subtitles. It is obviously easier to have a markup file with all the subtitle text in it instead of having to make individual graphics for each. Far as I know, this should be possible. Unfortunately, it's not going so well. After many attempts at subtitles, I decided to just add a very basic text output from the main markup file. It still did not work! I've checked the fonts, tried a few, and they are all Open Type. It's a very simple piece of code that just sets the position, font, and color. I left out all the timings and animations to be safe. Is there a bug in the Toshiba Players that won't do this or I am just overlooking something right in front of my face ...Show All

  • SQL Server sql server 2005 - CTE vs Table variables

    Hi, What is the difference between CTE and table variables. I read that CTE is used so that the tables do not get persisted in the database. Do the table variables have the same efficiency i.e. not persisted in the database. Can you throw some light over here if you understand the two concepts clearly please Thanks Hi, A Common Table Expression (CTE) is a temporary, named result set. Once created, a CTE can then be used in subsequent statements in the same SQL batch. This provides two benefits. First, it allows queries to be written in a more clear and concise manner. Second, because CTEs can refer to themselves, they allow the creation of recursive queries. In previous versions of SQL Server, sto ...Show All

©2008 Software Development Network