vasudupe's Q&A profile
Smart Device Development .NET Framework question
I am developing an application for an hp ipaq and I am getting an error saying that the application requires a newer version of Microsoft .NET Compact Framework. Does anyone know where to download this from. You get this message when you run a Compact Framework v2 application on a device that has Compact Framework v1. Either run the application from Visual Studio with device attached - Studio will download necessary components to the device, or use a standalone download: http://www.microsoft.com/downloads/details.aspx familyid=9655156b-356b-4a2c-857c-e62f50ae9a55 ...Show All
Commerce Server Guidance on number of catalogs and number of products
Hi All, In the CS docs there is the following page Performance Considerations in the Catalog System. In this page it says (underlining added by me)... Number of Catalogs The relationship between the number of catalogs and performance is very complex. However, a basic guideline is that fewer catalogs are bette r, depending on hardware and your specific scenarios. This guideline is valid up to around 500,000 products per catalog . Beyond that, more advanced configurations may be needed, based on your performance requirements. Now, in the Starter Site Performance guide the catalog config was... 15 catalogs with 1,000,000 products each 6 virtual catalogs with 700,000 products each This has me a little confused as I would ...Show All
.NET Development Getting protected controls using reflection
Hi, I am inspecting an assembly that has a form, and this form has some controls that are inherited from a BaseForm class. Using GetFields I get to know its controls. However, the inherited controls do not show. I have set BindingFlags as follows: BindingFlags flags = BindingFlags.Instance | BindingFlags.NonPublic; Am I missing something, any ideas Thanks in advance. Yeah but I would need to create an instance of the form to do that, and I would like to avoid that whenever possible since it may be quite a performance hit. My bad for not saying it in the first post. Would it be possible to inspect inherited controls without creating an instance of the form ...Show All
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring ReneeC wrote: Hi Ken and thank you. I don't use the remote desktop. To respond to other questions, YES, I make sure that microsoft receives those reports AND I've filed a bug report on this. Also I've noticed ...Show All
SQL Server Upgraded XP and my MSSQL 2005 no longer Login ID / Can't start server
Hi I upgraded my XP and when attempting to restart my web site using MSSQL 2005 my login credentials were not recognised. Now, the Databse does not want to start and I can not login to check error logs. I have enclosed the error message that I am experiencing. Can anybody please help. Regards =================================== Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. =================================== An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectDraw Deprication
What exactly do Microsoft mean by depricating DirectDraw Do they mean DirectDraw will be completely removed in the next DirectX release If so, what are the alternatives Yes it will work to use an older version of DX but the more modern OS will not support the older versions of DX, you really need to move on from Direct Draw. XNA Does not come in a VB.Net form you need to use C#, there are some people using VB.Net for XNA ( http://www.alanphipps.com/VisualBasicdotNET-XNA.html ) but you should have a look at C# as most of the tutorials and documentation use the language. ...Show All
Visual Studio Express Editions Deploying an application
Hello Guys! Please, is there any way to deploy an application package created with ClickOnce into Windows 98 I'm asking this because the setup file asks for windows installer 3.1, but this version of windows installer is not available to win98, only 2000, 2003 and XP. Is there any other version of windows installer that will work with the setup application or I need to change anything in the way I generate the deployment package The application was written in vb. Thanks a lot for all your time and attention. Cheers. Rodrigo. andradrr, If you install the .NET Framework 2.0 on your Windows 98 OS, it is possible for you to use the ClickOnce deployment. I search the MSDN, nearly all the ...Show All
SQL Server SQLNumResultCols returns unexpected value
Anyone know why SQLNumResultCols would return a different value for ColumnCountPtr in ODBC 3.0 than in ODBC 2.0 The only difference in our test program is that we set a different value for the SQL_ATTR_ODBC_VERSION attribute via SQLSetEnvAttr. When we set it to SQL_OV_ODBC2, SQLNumResultCols returns the expected value (10). When we set it to SQL_OV_ODBC3, SQLNumResultCols returns an unexpected value (0). Can you give a small code sample of the query you're using For example: create table t1 (c1 int, c2 varchar(1000)) select * from t1 SQLNumResultCols( ) should return '2'. Can you describe what you're doing to get this unexpected value. ...Show All
Visual C# Allow generic method only for a few types (int, string, bool, float, etc.)
Hello, i have currently a little problems with generics. I wanted to make something like that, which is no valid c# code: void MyMethod<T>() where T : string || int || bool || float || short || byte || uint || ushort || long { ... } But it is not possible to use types like int or string after the where keyword, because the string class is sealed and the valuetypes like int are no classes. I made a workaround, but I'm not very happy with it: void MyMethod<T>() { if (typeof(T) == typeof(string) || typeof(T) == typeof(int) .... ---- } This code gets not optimized by the JIT compiler (I looked in the assembler code), but its really important, that there is no overhead at this place. And i can't imagine, that this ...Show All
Visual Studio Team System Process Creation wizard
Hi, I've created my own wizard which I have inserted into the Process Template. I've inserted my wizard to run first. I need this wizard to run everytime a Team Project is created - it tags various team projects with some specific info entered. Everything works fine if the user only clicks on Next and goes through all the wizards. If the user clicks "Finish" after selecting the template then the team system bypasses my wizard. I have three questions: 1) Is there a way to make my wizard appear before the one that asks for a project name and project template 2) Is there a way to force the project name and template wizard to disable it's "Finish" button. 3) Is there a way to force my wizard to run each an ...Show All
SQL Server db backup simple vs. full recovery mode
When we do a full database backup manually, we are seeing the trn file reflect the current date/time, but we are not seeing the mdf reflect the new date/time. And we are not seeing the transaction log file decrease in size. the recovery mode is set to full, do we need to change to simple to see both the mdf being backup'ed Hi, You can schedule half/hourly t-log backup to keep it in shape, how ever if its growing unpexctingly refer below thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221599&SiteID=1 Hemantgiri S. Goswami ...Show All
Visual J# using java.applet package
Hello I have these codes,how can i use them in vj# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ this is an applet ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ import java.awt.*; import java.applet.*; public class twelve1 extends Applet { Label wellcome = new Label(" Wellcome to Applet programming"); public void init() { Font bigFont = new Font("Helvetica", Font.BOLD, 18); wellcome.setFont(bigFont); add(wellcome); } } ---- ...Show All
.NET Development To return a DataSet from the CSV
I want to get a new DataSet from a CSV file. How to make the copied list to a DataSet, returning the DataTable the list value please see the following: public void CopiesCSV(string fileName) { string[] list; string line; StreamReader reader = new StreamReade(fileName, System.Text.Encoding.Default); while ((line = reader.ReadLine()) != null)   ...Show All
SQL Server matrix: more than 1 column in static rowgroups ?
Hello, I am working with a matrix report item and would like to display something like that : DataGroup1 DataGroup2 StaticText11 StaticText12 Data1 StaticText21 StaticText22 Data2 StaticText31 StaticText32 Data3 But I cannot find a simple way to have 2 columns of static text on the left. The only way I've found is inserting a table report item in the matrix cells, but it cannot be exported in Excel. The only samples I found do'nt have multiple colums in the static rowgroup. Is it possible Kind regards, Xavier Miller. Gert I'm trying to group rows, but I get them as an addition column not as a row above the left hand side of columns, could you tell us which steps mus ...Show All
SQL Server error 0x80004005 when copying tables between servers
hi I've got a job which copy tables between different servers . I am feeding the tables one by one and the process of copying is in a loop so I have cotrol over the copying process. it works fine but sometimes randomly I am getting Execution failed with the following error: "ERROR : errorCode=-1071636471 description=SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Invalid character value for cast specification". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Invalid character value for cast specificati ...Show All
