Gad Rosenthal's Q&A profile
Visual Studio An error has occurred while trying to access the log file. Logging may not function properly.
I receive the error message defined in the subject of this post, then Visual Studio hangs and fails to launch. How can I repair this The problem is the VMDebugger Addin in VS 2005. But you can't disable the startup in the Addin-Manager. To hack it, use regedit to go to HKEY_LOCAL_MACHINE\Software\Microsoft \VisualStudio\8.0\Addins\VMDebugger.Connect and set LoadBehaviour Dword value to 0 (instead of 1). source: http://www.chrisdoesdev.com/ Now VS 2005 works fine. ...Show All
Visual Studio C# 2005 - How do I pass parameters from TextBoxes in a windowsform to a Crystal Report IX ?
Hello everybody, Greetings from Brazil! I need to pass parameters directly from TextBoxes in a windowsform to a Crystal Report IX through code, avoiding that ugly Crystal Report parameter prompt. Can anybody please send me some sample code or let me know where I can find a tutorial I have searched the Internet for days but did not find anything. Thanks a lot for your time and help! I really appreciate it. All the best, JC :) you need to create a reportdocument object first. ReportDocument myReport = new ReportDocument(); myReport.Load(@"C:\MyReports\myReport.rpt"); Then set any parameters using the line I gave earlier. Then view the report, or export, or whatever you want to do. If you are creating the re ...Show All
Visual Basic VS2005 connect from a pc to another ps'c mysql database
Hello, I totally no ideas on how to do it. I has a network conenction in my office. The mysql database is store in pc-A. But i want to connect from pc-B to pc-A and retrieve it database. I do not want to have a duplicate database in pc-B. Is there anyone know how to open a connection between 2 pcs and access its database. Is't i need to configure the DNS server in the pc-B do i need to do anything else in pc-A Any helps would be greatly appreciated. smith I have done this, and created a tutorial about it. You can find it at this URL: http://home.comcast.net/~mking56/MyODBC_TutorialWeb/myodbc_tutorial.htm I hope this helps. ...Show All
Visual Basic Single APP Instance VB.NET 2005
Hi I need to make my App a single instance, and pass arguments I have a Main Module : Public Sub Main( ByVal sArgs() As String ) How can I use sARgs with ONLY one App instance i.e., I want to pass Arguments to the running instance I use VS.2005..Visual Basic Thanks in advance Unfortunately yes, it does happen with a fresh VB project I made repair installation, and tried again but without success..maybe a full remove and reinstall would solve But if I can add that Events Class manually that crash shouldn't be a problem, right ! But I don't know the right syntax...if you can give me that ApplicationEvents.VB contents...I could try it out thanks for your help ...Show All
Microsoft ISV Community Center Forums Setting the Directory at GetOpenFileName
I've been trying my best to set the directory by default when I use the Application.GetOpenFileName at VBA Excel. For example, I want the user to find the files at c:\MyReports path, the GetOpenFileName shows the files at c:\My Documents or any other path. Is there a way to make it at c:\MyReports or anywhere I want within the network ChasAA wrote: Hello, There is no path parameter you can use in the GetOpenFileName method but use Chdir before it. Then you dialog box will open with that directory. eg Sub getFile() ChDir "C:\Chasdev" fileToOpen = Application _ .GetOpenFilename("All Files , *.*") End Sub Cheers ChasAA Thanks a lot ChasAA! It w ...Show All
.NET Development SqlDataAdapter: Unable to save data in a SQL database, What's wrong?
Hi All, I am unable to save data in a SQL database, What's wrong I am coding with VB .NET and I am unable to retrieve data from the database, beside I can read from the database without problems. How can I do, This thing is driving me crazy, it is 4 days that I am tryng to write in the database and I ahve tried everything update, insert. Somebody Know how to manage the SqlDataAdapter, beside the SqlDataReader is working perfectly. I am not used to the SqlDataAdapter. Is there anyone who know how to write in the database or where I am in mistake Thanks in advance. Here is the code: Dim oCmd As SqlClient.SqlCommand Dim oDR As SqlClient.SqlDataReader Dim strSQL, strSQL1, strSQL2 As String Dim adapter As System.Data.SqlClient ...Show All
Windows Search Technologies some files are not indexing from bitcomet
When download to desktop jpeg files, nfo-files, iso files - they are not indexing, the problem is with bitcomet downloads only, from IE downloads are OK. From bitcomet's forum said that the problem is not from bitcomet, it is from WDS. Avi and mp3 are indexing fine Try the last version of bitcomet , maybe your preoblem is solved. ...Show All
Visual Studio 2008 (Pre-release) Use annotations in a ReadOnly TextBox within a FlowDocumentReader ?
Hello everybody :) I would like to know if it's possible to use Annotations in a ReadOnly TextBox which is within a FlowDocument. All that I've read explain how to use Annotations with FlowDocument but I want to use annotation on a ReadOnly TextBox.... Here is what I've tried: < TextBox ScrollViewer.VerticalScrollBarVisibility = " Auto " Style = " {StaticResource BasicTextBox} " Height = " 70 " x:Name = " ProductDescription " Text = " {Binding Path=ProductDescription} " RenderTransformOrigin = " 0.5,0.5 " TextWrapping = " Wrap " Grid.Row = " 2 " Grid.Column = " 1 " Grid.ColumnSpan = " 2 " Margin = " 400,50,0,0 " > < TextBox.ContextMenu > < ContextMenu x:Name = " ...Show All
SQL Server Making managed code calls inside SQL Server in context of the client
Dear all, I am very new to the subject of writing CLR code inside SQL Server, so I apologise if my questions seem naive. I have a requirement to populate an asp.net 2.0 GridView control with data columns, some of which are directly from a SQL Server 2005 database, but some of which are calculated by calling CLR methods passing the values from the database columns to those methods. However, the methods I need to call only make sense in the process context of the client web site which is calling the stored procedure which I want to write to return the data columns. In effect, I want to be able to make a remote procedure call from within the SQL Server CLR code to the methods available in the client process. Is this possible If ...Show All
Audio and Video Development How to use fullscreeen mode?
Hi. I'm trying to use Full screen mode in my player. I called IMFVideoDisplayControl::SetFullscreen(TRUE) while playback was running, but it will blackout screen and doesn't show any picture. My player creats topology below. source->decoderMFT->EVR decoderMFT uses DXVA2.0 and MFT_OUTPUT_STREAM_PROVIDES_SAMPLES flag on. What should I do to show picture on full screen Thanks. kasumi. Hi Becky I'm using Mobile Intel(R) 945GM for Display adapter and Driver Version is 7.14.10.1096 >Are you never seeing an image again, or does your image come back after some time I have waited more than five minute but image never come back. Although if I set back to window mode image sho ...Show All
Visual Studio Express Editions how to make password(login form) case sensitive?
how to make login form password case sensitive Be careful The following code you'd think was case sensitive. If "red" = "RED" Then MsgBox("Same") Else MsgBox("Diff") End If Add the line at the top of the code file. Option Compare Text Now change the line to Option Compare Binary Option Compare can make code case sensitive or insensitive. ...Show All
SQL Server Report parameter question
Hi there, I am a tad confused with an exception that I get whet trying to render a report to pdf. I pass 2 arraylists which contains the name and value of the parameters. I iterate through these lists (which are of equal lenght) and set the parameters. I am very new to this so I am sure that I am doing something stupid somewhere in the code below: ' Create instance of save dialog and set default ' filename and filter saveReportDialog = New SaveFileDialog saveReportDialog.Filter = GetFilterString(pFormat) saveReportDialog.FileName = pName ' Open the save file dialog Dim dr As DialogResult = saveReportDialog.ShowDialog() If dr = DialogResult.OK Then Dim fileName As String = save ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Components - help!
Hello, I'm just starting out with XNA (and it's the first language I've tried that doesn't include the word basic...) but have found myself a bit stuck whilst trying to use GameComponents. I followed the rather excellent tutorial for creating a tile engine at XnaResources and now have a fully functioning game component that draws & controls my tile map to screen - my idea being to create a simple 2D RPG, but first I want to build a map creator/editor that uses the tile engine to display & scroll the map. So far so good - I've written a (very) basic interface that allows me to enter the name of the text file that stores the map data and then displays it on the screen. But where I've hit a wall is that anything I do in my main game i ...Show All
Software Development for Windows Vista Test Case 32: Is WER necessary for this test case
I am not clear about ThreadHijacker tool to test my application.It inserts /AV in to the app. I think that there must be the code to handle the structerd exception in my app. so i am trying to use following code : #include "stdafx.h" #include <windows.h> #include "errorrep.h" static LONG WINAPI ExceptionFilter( struct _EXCEPTION_POINTERS * pExceptionPointers ); int _tmain( int argc, _TCHAR* argv[]) { DWORD *pdw = NULL; BOOL fUseGlobalExceptionFilter = FALSE; if (argc > 1 && _stricmp(argv[1], "UseGlobalFilter") == 0) { LPTOP_LEVEL_EXCEPTION_FILTER myfunc = SetUnhandledExceptionFilter(ExceptionFilter); if (myfunc == NULL){ exit(0); } // caus ...Show All
SQL Server DTS Package, global variable, test vs live?
Are global variable parameters in a DTS package specific to "only" that one package and do not effect other packages I need to add a variable to a test package but am worried that if I add this parameter it might affect the live production Table. There are two different servers on different sides of the firewall, there are two different databases and there are two tables but with different names, and there are DTS packages but they reference different tables in the query code. So is it ok to add the global variable which would allow this DTS to delete recent records from the "test" version and it wont do anything to my live version By the way I did check Microsoft's website for more details on DTS and variables. ...Show All
