Jkumar's Q&A profile
Visual Studio Team System Source Control and Workgroup Edition
I have work group edition installed but can not find away to get source control working or have my visual studio show any options of source control. Is there something else i need to install To i need to install SafeSource Do you mean you can't find it in your client machine I suppouse you already installed Team Explorer on that client machine, can you go in your Visual Studio, to "Tools","Options", "Source Control" and check you have "Visual Studio Team Foundation Server" selected ...Show All
Visual Basic Total VB beginer - WScript not declared?
Hi guys, total beginer to VB. Only reason really using it is because the one app I'm using only supports VB for scripting and well here I am. I'm trying to link up with the application but I'm having problems early on... I have the following code: [start] Option Explicit On Module Module1 Const wait = 10000 Dim WSH Set WSH = WScript.CreateObject("WScript.Shell") Sub Main() End Sub End Module [end] And I'm already getting the error Wscript not declared --- what do I do Adding a little to show running notepad using shell from a VB command button click. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim wsh As Object = ...Show All
Visual Basic Web History Access
Hi, in my program, I want to access web history. Web history is stored in the username's documents and settings... I could reference to C://Documents and Settings/username/history location w/e in a web browser but the username changes from user to user, so how would I make it so that i can access the history (anyway) and display it in the program (i believe the only way is a web browser)... The file you need to scan is called index.dat located in the History folder, History folder is a special folder and so internally for some reason hides the index.dat from normal directory searches. There are several copies of index.dat, I guess some have specific days in them. You may have to Google around to find the format of the file so you can ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anoying shadows
Hi, i wanne use shadows as a very basic thing in my game for hundrets of objects, so i searched for a way to do this as a shader. I thought this would be the best way. So well, in the NVidia or AT I SDK are alot of samples but first of all they are not really simple and they have a lot of compability issues. I tested both on Geforce 7 and a mobility radeon 9700 but couldn't figure out a working solution for both worlds. Can someone help me with this Does someone know a good tutorial/url/whatever for real shadows as shaders I already searched a lot but XNA and HLSL stuff isn't that well known yet I think. CU Thunder2002 Here is a very good demo with source code included showing Parallel-spl ...Show All
Visual C++ fatal error libc.lib
Hello all, I am designing an ocx control in vc++ visual studio 2005 ,When i compile the code i get "the fatal error LNK1104 cannot open the file libc.lib".How i can i solve this problem ,please anyone help me. Advance thanks. Pradeep. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=75362&SiteID=1 . ...Show All
SQL Server Do I have to rebuild all my aggs after a ProcessUpdate of my dimensions
In this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=580892&SiteID=1 Edward told me that doing a ProcessUpdate of your dimensions causes the indexes and aggregations of all your partitions that use those dimensions to get dropped. I am really worried about this. Does this mean that I have to manually rebuild all my indexes and on ALL partitions after I have done the ProcessUpdate or is it done for me Another worry is that if I have a big fact table this could take a long long long time. In fact I'm not just worried, that is a huge risk in my book. Could soeone fill me in as to what happens with the indexes and aggs after they are dropped. Thanks Jamie This is known and well documented situa ...Show All
SQL Server Error: Subreport could not be shown
I am a new one in using ReportViewer in VS 2005. I try to use Main and Sub report to show data from my dataset. It doesn't matter if I use main report only, but the problem is when I use subreport intergrated with the main report. When I run it in browser, it shows: Error: Subreport could not be shown The main report is ok.Is there any solution to the problem Thank for your help!!!! Don't know if you are still struggling with this one, but passing parameters to subreports is simply a case of right click on the subreport where you have included it in the main report, open the Properties and Parameters Tab and specify the link between the main and subreport. As long as you have set up ...Show All
SQL Server SQL Server Reporting Services 2005 - Validating Date parameter field
Hello, My problem is with Validating Date parameter filed, when I user enters wrong (assume user is entering date instead of selecting from date picker). Where following are scenarios I would like to validate. When user enters non-date. When user enters 30/feb/yyyy. When user enters 29/feb/yyyy. (for non-leap year). When user enters 31/mm/yyyy. (for months does not includes day 31) Could you explain in a little more detail how to accomplish this thanks in advance, Ramesh KS Hi Ramesha, Please see the below links related to custom code : http://msdn2.microsoft.com/en-us/library/ms155798.aspx http://www.yukonxml.com/chapters/apress/reportingser ...Show All
Software Development for Windows Vista using InkOverlay with transparent panel
I'm creating a transparent panel using WS_EX_TRANSPARENT and WS_EX_TOPMOST window properties. I'm also using InkOverlay with autoredraw set to false and doing the painting of existing strokes via Renderer.Draw. It works fine for some time. I can see strokes being painted.However, if I close the form with the panel and reopen the form again, the ink on the panel stops responding to stylus and mouse, even though the panel is still receiving mouse events (I can see that via Spy++). It takes some time for it to start working again (very odd behavior).If I don't set WS_EX_TRANSPARENT on the panel, InkOverlay works fine.Has anybody seen it or have any input Thanks in advance.Vlad Hi Vlad: I'm not exactly sure ...Show All
.NET Development Read Excel cell DataRow string > 256 character
I am trying read data from excel document using Oledbconnection. When I read a string in a cell using DataRow[columnName] gives me 256 characters maximum. All the remaining text is cut off. Need suggestion how can I read text around 1000 characters in each cell. Thank you, Bhavani Prasad You will need to change the value of TypeGuessRows in the Registry. This value specifies the number or rows scanned when determining the data types for each column. The default is eight and it's likely that none of the first eight rows contain more than 255 characters. You can change the value to a number greater than eight or specify a value of zero, which will cause all rows to be scanned. Keep in mind that us ...Show All
SQL Server Orphaned PK constraint
I created a primary key constraint on a temp table in a sproc. When I run the sproc a second time, I get an error message that the constraint already exists in the database. Is there a way I can find this thing and delete it ...Show All
Visual C++ Problems with while loop
I am trying to use a while loop in a mortgage calculator to have a user re-enter data when they enter non-numerical data into a numerical field. I have 3 areas in which I want this done. First is when asking for the loan amount, then when asking for the term, then when asking for the percentage rate. The following is a code snippet to show what I am doing: double term; double loan; double rate; cout << "Mortgage Calculator" << endl; cout << "For a loan with the following:" << endl; while (cin.gcount() != 1) { cout << "Enter Loan Amount: $"; cin >> loan; cin.ignore(numeric_limits<int>::max(), '\n'); if (!cin || cin.gcount() != 1) cout << "Not an integer.\n&qu ...Show All
Windows Forms how the increase the font size in web broswer
Hi, WebBrowser1.Font = New System.Drawing.Font("Tahoma", 12.75) i did the code like this while clicking the button, but its not working for me, can anyone help me in this Thanks in Advance Kamal Hi, Please go thru the below link. http://support.microsoft.com/default.aspx scid=kb;en-us;304103 Thank you, Bhanu. ...Show All
Visual Basic [Help] - getting CRC of a string (converted from C to VB)
Hello, i recently need a way to get a crc (32) of a string. I found an example http://www.zorc.breitbandkatze.de/crctester.c and i converted it Module test '//CRC parameters (default values are for CRC-32): Dim order As Integer = 32 Dim polynom As ULong = &H4C11DB7 Dim direct As Integer = 1 Dim crcinit As Long = &HFFFFFFFF Dim crcxor As Long = &HFFFFFFFF Dim refin As Boolean = False Dim refout As Boolean = False '// internal global values: Dim crcmask As ULong Dim crchighbit As ULong Dim crcinit_direct As ULong Dim crcinit_nondirect As ULong Dim crctab(256) As ULong Sub generate_crc_table() Dim i As Integer = 0 Dim j As Integer = 0 Dim bit As ULong Dim crc As ULong For i = 0 To 255 Step 1 crc = CULng ...Show All
Visual C# Best way to marshal an array of C style strings
im trying to create a parallel managed struct in a .net dll from a C application. in my C app i have a struct with this in it: struct myStruct { . . . char header[7][30]; } and i wanted a managed version. i havent found much on marshalling an array of c style strings... but it might be because im not using the right search words. i saw this example, would this be correct [StructLayout(LayoutKind.Sequential)] public struct myManagedStruct { . . . [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7, ArraySubType = UnmanagedType.ByValTStr)] public string header; } and if it is, how would i marshal over each string in the array to its parallel managed version Yes. Another op ...Show All
