Jerry Frame's Q&A profile
Smart Device Development problem with dock fill
I am using Visual Studio 2005 Professional Edition Version 8.0.50727.42. In a PocketPC2003 project, I am having trouble seting up one of my forms. The first thing I did is create a panel and dock it to the top. Then I created a label and a few check boxes and put them inside the panel. I docked the label to the top of the panel. below the first panel I have a splitter, also with its' dock property set to top. This positions it just below the first panel. Then, below the splitter, I have another panel with its' dock property set to fill. This causes it to fill up the remaing portion of the form. So far everything is working fine. Then inside ...Show All
.NET Development Cannot convert type 'System.Type' to 'System.Data.SqlDbType'
I encounter error, " Cannot convert type 'System.Type' to 'System.Data.SqlDbType' " when attempting the following code: // Create a secondary DataSet in order to research the unknown data types of the destination table columns. SqlDataAdapter sqlResearchAdapter = new SqlDataAdapter(); SqlCommand sqlResearchCommand = sqlSelectCommand.Clone(); DataTable sqlResearchTable; DataSet sqlResearchSet; sqlResearchAdapter.TableMappings.Add("Table", sqlTableName); sqlResearchAdapter.SelectCommand = sqlResearchCommand; sqlResearchSet = new DataSet(sqlTableName + "0"); sqlResearchAdapter.Fill(sqlResearchSet); ...Show All
Visual Studio Exception "Report Definitoin is not valid" when deployed to Local IIS
The report ran fine on the Web Dev Server. Deployed to local IIS using "publish website' from vs 2005 which compiles the code to dlls. Can no longer render report - got the following exception: Any idea Is precompiling the application a problem Thanks in advance for any help! ReportProcessingException: The report definition is not valid. ReportProcessingException: The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.] Microsoft.ReportingServices.ReportProcessing.ReportPublishing.Phase1(CatalogItemContext reportContext, Byte[] definition, CreateReportChunk createChunkCallback, ...Show All
SQL Server SQL Server 2005 Reporting Services on Windows Vista
Hello out there! I've tried to install all features in the SQL Server 2005 to run on Windows Vista. The Reporting Services failed to install. I think it is because of the IIS 7.0 that 's not recognised by SQL Server. Is there anyone who have had the same problem and is there anyone who have a suggestion to solve this problem I'm betting that as long as Vista is in "beta land" it will be hit-and-miss functionality at best. I'm guessing it will also require a SQL update to handle IIS7 for reporting services. As locked down as IIS6 is, my understanding is that IIS7 is even moreso. ...Show All
Visual Basic 101 VB samples - Adventureworks DB not included - where to get the correct version?
I have Visual Studio 2005, and I downloaded the 101 VB samples. I have SQL 2005 express, but no Adventureworks database. I found an adventureworks download, but it must be different as the 101 samples that require it give errors regarding various fields. Can someone point me to a URL for the correct Adventureworks database You can download it here: http://www.microsoft.com/downloads/details.aspx FamilyID=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&displaylang=en ...Show All
Visual Basic What has .tabenabled changed to in .NET?
In VB6 I was able to use frm.FormName.tabenabled(2) to select the second tab on a form. It seems that the keyword has changed. And for the life of me I can't figure out what it has changed to. Any help on this would be appreciated. Thanks. In VB.Net Tab Control, Each of the pages on a tab control will appear as separate controls, you'll see this when your looking through the controls on the form. So all you have to do is set the selected tab page. The following code will alternate between selecting tab1 and tab2 and illustrates setting and getting the selected tab If Me .TabControl1.SelectedTab I ...Show All
Visual Basic validate the textbox in vb.net
Do anyone know how to check the textbox when user has enter this kind of symbols " !@#$% ^&*(" together with data Private Sub textBox1_Validating(...) Dim s As String = "!@#$%^&*(" For Each c As Char In s If textBox1.Text.Contains(c) errorProvider1.SetError(textBox1, "Contains invalid character!") e.Cancel = True Return &nbs ...Show All
Visual C# RTC applicaiton is still running after close
I am making an application with the rtcdll.dll com object and i am having trouble with the disconnection to the server. If the application does not disconnect and closes, everything is fine. If the application calls "IRTCClientProvisioning2.DisableProfile(IRTCProfile2)" to disconnect the application is still running after the application window closes. I am following the C++ RTCSample application but with managed dot net and me coming from a C++ backgorund. I am having trouble knowing what to do the the com objects when the C++ code releases it. There is no .Release() or is this because it is a com object I think this may be why the applic ...Show All
SQL Server Empty Messagebox
Hi When I start the MSQL Server Management Studio Express I get a Message Box with a yellow exclamation icon and NO message, just an OK button. Which when I press it goes away allowing me to logon to the Management Studiio. All seems to be working fine (although I have not used it much since getting this strange behaviour). I have re-installed Win XP Pro SP2, applied all patches from MS website, install is clean and no errors. Also downloaded latest SQLExpress Edition and as well as latest Server Management Studio. Any ideas Thanks, any help will be appreciated. I recently installed Wind ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Starter Help
Hi, I have been in development since last one year. now I want to make a 3D game with my skills in Vb.Net only. Can any one suggest the correct roadmap for me to become a Game programmer / 3D game programmer. Where can I find good tutorials on it. Thanks, HI, Well In India Such books are available but They are hard to find soon after it release. But I will surly get that book. Thanks Mr. David for such as good book..:) ...Show All
Visual Basic GetLastError
I am a vb.net 2003 programmer. I am working on a web service application which requires me to use C++ routines for autoproxy detection on a client computer. Specifically, I am using WinInet and Autoproxy C++ routines. My problem is that it is hard to debug runtime difficulties within my autoproxy C++ routines. I am familiar with Try/Catch error trapping but "GetLastError" is new to me. My question is therefore, how should a vb programmer catch C++ errors at runtime. Thanks, Fred In the Win32 world, calling the GetLastError API is often the mechanism to get additional error information when an API call fails. &n ...Show All
Visual Studio Express Editions Putting a shape (circle, square, etc) on a form at design time
Hi, I come from a Borland C++ Builder background and in that environment if you want a shape like a circle or a square on your form you simply drop a TShape on it at design time and set it's properties just like you would do with a button or any other component. Very easy and convenient. Is there such a thing in Visual C# Express I can't seem to find anything other than an explanation of how to code the drawing of shapes at run time. Thanks. Daniel Leger well, this seem not avaiable before 2003, but now, it's changed. I'am not still experience willl it. But can share my experience. I have created ...Show All
.NET Development Help with IE Mem Leak
Basically... I have 2 documents loaded in 2 frames... DocA and DocB. DocA is visible to the user and takes up the whole browser. DocB is hidden from the user. Both documents have a DIV tree in their DOMs. DocA grabs a DIV out of DocB's DOM and inserts it into it's own DOM. The user fills out whatever information that displays. When the user clicks "OK", DocA rips the DIV out of it's DOM and gives it back to DocB. DocB then submits the information to the server while the user continues to work in DocA. This creates a memory leak. Refreshing the page does not get the memory back. Leaving the entire ...Show All
Visual C# Print Solution
Is there a way to print an entire C# solution or do you have to select one file at a time and print Thanks Steve VS.NET does not supply a means for doing this automatically, but here's an MSDN article on how to create a macro to achieve what you are looking to do: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncodefun/html/code4fun05302003.asp Hope this helps, Josh ...Show All
.NET Development Decryption without an Initialization Vector?
I am trying to decrypt data retreived via FTP, but I only have a key and no initialization vector to decrypt it with. I am using DES to do the decryption. I tried setting the key and not setting the IV, but that resulted in a "bad data" error. Does anyone know how to decrypt with only a key DES used to work by blocks only, without using an IV. This was considered insecure, but is still around. It is usually called Electronic Code Book or ECB. Cannot test it myself without test data, anyway you can try to set: DESCryptoServiceProvider.Mode = CipherMode.ECB; and then initialize your IV to a ...Show All
