dredrunde's Q&A profile
Visual Studio CR VS2005 Web Deployment
I have Visual Studio 2005 (Non Beta). I have a web application that uses the Crystal Report and works beutiful on the development manchine, Now I have copied my application to my production server and I get the following error message e: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. Source Error: Line 1: <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="DisplayReports.a ...Show All
.NET Development Reflection
Im defining dynamic type on runtime using .Net reflection Here the snipet of code. FieldAttributes attrib = FieldAttributes.Private; FieldBuilder oFieldBuilder = this .Builder.DefineField(strFieldName,oFieldType,attrib); The problem is that when i call the object.GetType().GetFields i can't retrieve any field with the public FieldInfo [] GetFields( BindingFlags bindingAttr ); even if i specify BindingFlags.NonPublic. the GetFields() function without any arguments work and return all public field but if i specify a binding attribute is doesnot work at all. but i would like to get only the private fiel ...Show All
.NET Development asp remoting
I have been unsuccessful in connecting an aspx page to a remote dll because the format for web.config commands have changed and all the examples are for vs 2003. I am using vs2005 andMS does not have any samples of how to config aspx 2 remoting (at least that I can find) The questions a little vagues in terms of what you're all handling, but I've included a code snippet that might help you out. <httpRuntime useFullyQualifiedRedirectUrl="true" enable = "true" maxRequestLength="4096" executionTimeout="150" minFreeThreads="2" appRequestQueueLimit="4& ...Show All
Visual Basic does debugging mean that we can step inside the code while being executed
what s debiugging in simple and plain english. thanks for vulgarizing:) is it the same thing for execute without debugging (with Ctrl F5) Everything you can do while ‘debugging’ tends to do far more than just include stepping through code, but then debugging at its root is simply the act of trying to locate, identify, remove and test (the removal of) bugs. But yes... when it comes to debugging of the sort you are talking, stepping through the code is part of it, but so can just running the application normally and trying to identify why something isn’t as you would like it. This can be done both with a debugger attached (enablin ...Show All
Visual Basic Can someone please help me convert the following C# code to VB code
public event PropertyChangedEventHandler PropertyChanged { add { _changed += new PropertyChangedEventHandler ( value ); } remove { _changed -= new PropertyChangedEventHandler ( value ); } } Prior to version 8 (the one in VS 2005) VB didn't support writing explicit event add/remove methods, so you could only write Public Event PropertyChanged As PropertyChangedEventHandler In the new version you can use the Custom Event syntax. It's described here http://msdn2.microsoft.com/en-us/library/6hwhs172.aspx ...Show All
Visual C# Garbage Collection
I am running Ants Profiler to do memory testing on our ASP.net application. The Profiler reveals that 308,313 System.String objects had been allocated and 17,900 are currently still on the heap. That means to me that .Net has released 290,413 from memory. Is there anything that I can do to reclaim the that memory or am I at the mercy of .Net's GC Any help is appreciated You might want to think about Adding a "%time in garbage collection" counter to the System Monitor on your web server and watching this counter while your application is running. If % time in GC is consistently above, say, ...Show All
Smart Device Development Icon in titlebar when minimized
Hello I want to add an icon to the titlebar that show the status of my program when it is minimzed. Is this possible, and if so, how First create an icon with icon editor and add to the resource file an icon statement ex: ID_ICON ICON "mymin.ico" then you can use the LoadImage and SendMessage to assing a small icon to a window hIcon=LoadImage(hInst,MAKEINTRESOURCE(ID_ICON),IMAGE_ICON,16,16,0) SendMessage(hWnd,WM_SETICON,FALSE,(LPARAM),hIcon); Hope this helps. ...Show All
SQL Server Extracting XML data from SQL 2000 to SQL 2005 database table.
Hi, We need to extract data from XML that is contained in TEXT columns in Sql Server 2000 database table. Can this be done easily with SSIS (NB we cannot use schemas easily with our data) Please kindly provide us the solution in order to resolve this problem. Thanks I've just had a go at this... When you select the data a TEXT field appears in the SSIS pipeline as a DT_TEXT. To insert it into a XML field use a derived column transform to convert it to DT_NTEXT. If you don't like DT_NTEXTs in your pipeline then convert it to DT_WSTR and then to DT_STR which can also be inserted into an XML field. So yes, SSIS can do this very very well. ...Show All
SQL Server Reporting Server Project 2005 - xml datasource - Querying the data
The way I create the report is I use VS2005 to create the RDL programmatically on the fly. The problem is querying the data when I use XML as a data source (changing the data source is not an option). I can connect to the XML data source, I enter a basic query in the data tab in VS 2005 and what happens is for some reason or another the above element in XML gets concatenated onto the column name in the result set. So what I have to do is manually modify the RDL file to accept the new names and then the report works. There has to be a way to not have this happens. Any advice on where I can find information on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pixel Perfect collision Detection
Hi, Do anyone Know how to realize the pixel perfect collision detection in vb.net Direct3d Sprite class (2d game) I tried to use lockrectangle but i can't find any example of usage. I have this code for dx7 but i cannot translate to vb.net directx9 Anyone can help me Thank you dx7 code (not mine) Public Function CheckForPPCollision(DDSurf1 As DirectDrawSurface7, DDSurf2 As DirectDrawSurface7, RECT1 As RECT, RECT2 As RECT, BlitCOLORKEY As Integer) As Boolean Dim RECTOverlap As RECT 'Used to record the overlap from RECT1 and RECT2 Dim RECT1Overlap As RECT 'Overlaped portions of RECT1 Dim RECT2Overlap As RECT 'Overlap ...Show All
Windows Forms Blinking effect on Winforms
Hi, How can I create a blinking effect on a Form when it is Minimized and something happens on it, just like it works with the Messenger. Thanks for your help D This can be done with the FlashWindow function in the User32 DLL. [DllImport("user32")] public static extern int FlashWindow(int hwnd, int bInvert) For example: FlashWindow(this.Handle, 0); ...Show All
SQL Server How to add a TCP endpoint in SQl Server 2005 Beta 2
Hi All, I would like to know the syntax of creating an endpoint in SQL Server 2005 Beta 2 version. The syntax which i am using is as follows: create endpoint yuk1 state = started as TCP ( LISTENER_PORT = 4022 ) FOR SERVICE_BROKER ( AUTHENTICATION = CERTIFICATE trpyuk1 ) And i am getting the following error : Incorrect syntax near 'CERTIFICATE'. Regards Deepak Hi, Ok, thanks for the update. SO is this syntax ok for the June Community Version Regards Deepak ...Show All
.NET Development access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connect using RUN and the IP address. Whenever I try to connect the laptop to the desktop I get the same message; \\... is not accessible. You might not have permission to use this network resource. Cont ...Show All
Visual C# Clearing Cookies
Is there a way to clear a specific domain's cookies using WinInet while running Internet Explorer/WebBrowser Component I found this article: http://support.microsoft.com/default.aspx/kb/326201/EN-US/ But I just don't know how to selectively clear cookies only, or selectively clear the cache of a single domain. Any help would be greatly appreciated. ...Show All
Microsoft ISV Community Center Forums Help with simple program
Hi, I’m new at this whole thing. I’m trying to help a friend with a macro (VBA for Excel). Its very simple, he has all these country codes on a spreadsheet. We want the program to read the code and the write the country code next to it. We’ve created a two dimensional array with all the codes and country names. Here’s the code: Dim selNum As String Dim trim As String Dim Arr(70, 1) As String Arr(0, 0) = 809280 Arr(0, 1) = "Argentina" . . . Arr(70, 0) = 809641 Arr(70, 1) = "Zambia" For i = 2 To Selection.Rows.Count selNum = Cells(i, 1) ...Show All
