Itzik Katzav's Q&A profile
Visual Studio new dataset login problem in .net application
Hi, i am new in using .net, i developed a application, i have a txt file, create a dataset in .net and read the data from the txt file to the dataset, then i use crystal report to create report by using project data->ado.net, and i find the table(from the dataset) exists, then i choose the table and continue finishing creating the table. Finally, i run this application, click a button, open the openFileDialog, choose the report i have created in this project, when i want to open it, it gives me a login dialog, with four lines: Server Name: NewDataSet Database: Login ID: Password: the database field is grey, however, it asks me to input the login id and password, how to deal with it i know nothing about the login information and it se ...Show All
SQL Server Problem with MSAccess and executing a DTS package via VBA - returns column headings only
I wonder if anyone can help with this. I have searched around and not found much on the topic which can resolve my problem. History on the reason for using VBA and not C# or VB or VB.net etc. Whn I arrived at this company, there were no development tools so had to resort to Access and VBA. Of course, the routines I wrote are now set in production and I haven't had much time to convert them to c# and ASP.NET (which I have learnt over the past couple of years). Anyway the problem is that I found on the SQLDTS.com site that I could in fact create and execute DTS packages within VB and followed the examples and got this working in VBA. Of course I created the DTS first and then saved it as VB, then used the resulting code with the VBA pr ...Show All
Visual Basic Call a VB 2005 DLL from VB .NET 2003
I have an executable program written in Visual Basic 2003. I now have a DLL written in Visual Basic 2005. How do I call the 2005 DLL from the 2003 EXE I have tried Reflection and simply CreateObject. Even tried to create a reference. All attempts told me that the DLL was invalid. Help please Rory It is a VB 2005 DLL and the EXE is VB 2003. I put your config settings into my application. However, the exe does not start then when I hit the run/play button. When I take those lines out, then the application starts fine. But the connecting to the DLL bombs out again. Any ideas please Rory ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture Rotation Problems
I am working on a sample program to test an idea for a top-down shooter. The "landscape" consists of a large texture that should be movable along the x and y axes and should rotate around the "soldier", whose texture is fixed to the viewport. Seems fairly simple, but either I'm hopeless at vector maths or there is some quirk of the XNA framework that I don't understand. The "landscape" texture rotates around some other point (which seems to move relative to the axis directional controls), and the directional controls go weird after playing with the rotation for awhile. They seem to start following the axes of the texture rather than the viewport. Also, the texture initially appears in the wrong place (shoul ...Show All
Windows Forms rowfilter on numberic value
Can We use rowfilter on a numberic data the following code gives me error Cannot perform 'Like' operation on System.Decimal and System.String. dv.RowFilter = lblSno.Text & " LIKE '" & txtSearchBox.Text & "*'" pls help ...Show All
Visual Studio Team System How to debug FxCop custom rules in VS2005
How to debug FxCop custom rules in VS2005 i found the resolution at some place the step as following: Debugging custom fxcop rules - with out using stand alone fxcop 1.35 - devenv.exe with the /debugexe switch - FxCopCmd.exe with the right arguments - create an .fxcop project (test project on which you want to run your rules on) fxcoptest.fxcop file - < xml version="1.0" encoding="utf-8" > <FxCopProject Version="8" Name="Sample Library Code Analysis Project"> <ProjectOptions> <SharedProject>False</SharedProject> ...Show All
Smart Device Development Error when closing threaded modal dialog.
Hi, I am getting ThreadAbortException when my ShowDialog completes its work. I have created a thread and called DisplayInformation, which creates form instance and call its ShowDialog (means form displayed as Modal). In the form I have a button by clicking on it, I set the DialogResult to OK. Whenever I press that button the thread terminated abnbormally with following exception. This behavior is for CF2.0 and PocketPC 2003 SE emulator. Sometimes it work on Device. ERROR: ThreadAbortException at Microsoft.AGL.Forms.WL.SetVis() at System.Windows.Forms.Control.set_Visible() at System.Windows.Forms.Form.ShowDialog() at UtilitiesThreadedDialog.DisplayInformation() at Utilities.ShowInfo() at WorkItem.doWork() at System.Threading. ...Show All
Visual Studio Team System Error when I create a new Team System project
RCh wrote: Hi, I have some problems with my Team configuration, when I create a new team project i found this error. Error Unable to connect to the Windows SharePoint Services at ServerName Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at ServerName. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site. User Action Contact the administrator for the Windows SharePoint Services at ServerName to confirm that the server is available on the network. Also, you might find additional helpful information in the project cre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom ContentTypeReader
Hi, I'm trying to make my own content loader for a custom font file. I've got the custom file to compile using an importer that I wrote, and I can see the XNB file is generated as expected, but the content manager can't seem to find my ContentTypeReader. Here's the writer: [ContentTypeWriter] public class GameFontWriter : ContentTypeWriter<GameFontStub> { protected override void Write(ContentWriter output, GameFontStub value) { output.Write("hello"); } public override string GetRuntimeReader(TargetPlatform targetPlatform) { return "Importers.GameFontStubReader"; } } The game compiles fine, but when it reaches the line: hudFont = content.Load<GameFontStub>("Fonts/main"); ...Show All
Visual Studio Express Editions error trying program on other pc
Hi I've got a program. It has 1 source file (.cpp) and 1 header file(.h). When I compile on my local machine the program works just fine, but when I try it on another pc I get the error that somethings wrong with the configuration of the program and that it can't be run. I have .net framework 1 till 2 installed and the microsoft visual C++ 2005 redistibutable on the other pc. Anyone know what I need to do to make it work (and is it normal that my compiles program is smaller then my source code (.cpp and .h file together) ) Thanks in advance. Are you trying to run a debug or release version of the program If a debug... try a release. Debug builds rely on the debug versions of some ...Show All
.NET Development Calling a .NET component from VB6
Hi, I'm new to VB.NET programming and am attempting to create a .NET class that I can call from a VB6 program. I've created a .NET class and a VB6 calling program and have been able to successfully call the .NET class from the VB6 program when I run it locally on my machine. I've installed the .NET framework on a Windows server and have registered the .NET class using the following command: regasm C:\VBNET\DEVELOPMENT\InvAdmissionsCOM\InvAdmissions\InvAdmissions\bin\Debug\InvAdmissions.dll /tlb: C:\VBNET\DEVELOPMENT\InvAdmissionsCOM\InvAdmissions\InvAdmissions\bin\Debug\InvAdmissions.tlb This seems to register the file succesfully. I then try to reference this from my VB6 application. I can browse and see the InvAdmission ...Show All
Visual Studio 2008 (Pre-release) How to configure one listenUri address with more addresses(logical)
Hi, I have a scenario in which I am sending signed soap enevelopes to SoapRouter. Because to field is signed I configured SoapRouter to use listenUri and address field. I would like to have one wellKnown listenUri of the Router that will accept all envelopes addressed to different logical address. I tried like this, but it doesn't work. < services > < service name = " Microsoft.ServiceModel.Samples.SoapRouter " behaviorConfiguration = " metadataBehavior " > < endpoint address = " fx://logicaladdress1/ " listenUri = " net.tcp://localhost/services/soap12/binary " contract = " Microsoft.ServiceModel.Samples.IDuplexSessionRouter " binding = " routerBinding " bindingConfiguration = " TcpB ...Show All
Windows Forms Drag & Drop Cell Content
Hi, How Can i drag and drop cell content with another cell using right click Hello, I found a sample about DataGridView drag and drop in codeproject, I send you the link: http://www.codeproject.com/csharp/DataGridView_Drag-n-Drop.asp there is a another sample code http://www.codeproject.com/csharp/DataGridView_Drag-n-Drop.asp there is a another sample code http://dzaebel.net/DataGridViewDragDrop.htm If this don't works, just try search in this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=259011&SiteID=1 some people have the same question. Good luck ...Show All
Visual FoxPro VFP9 - Related record not seeking in a field valid in a browse command.
Hi everyone. I have noticed a rather serious incompatibility between VFP9 and older Foxpro versions. In the following code, when the field valid is fired, the related table record is not seeked and not found. In older Foxpro, the related table record is already seeked in the valid clause. This happens only for the first entry in the 'TmpProd' table but subsequent entries are seeked and fine. Is there a solution for this aside from seeking within the field validation code SELECT 2 USE prod order ProdId &&Index is on ProdId SELECT 1 USE TmpProd EXCLUSIVE SET RELATION TO ProdId INTO prod zap APPEND BLANK BROWSE FIELDS ProdId:v=showinf(),design=Prod.design RETURN FUNCTION showinf ...Show All
SQL Server Does MS plan a GUI
Hello all, We are planning to base a product on Microsoft SQL-2005 Notification services. However, one of the required properties from this software is to provide the client administrator a user interface to configure the Instance Configuration File (ICF) and Application Definition File (ADF). Working with XML files will not do for us, once the responsibility is delegated from a developer to an administrator. Before going into the process of writing such an application from scratch, I would like to know if Microsoft has such an enhancement on the SQL-NS roadmap, and if so, when it is scheduled to. Does anyone have any thoughts or knowledge Thanks Ziv G. Hi Ziv - ...Show All
