Subhashini A.'s Q&A profile
Visual C++ About DLL initialization
hi, The order in which the dll's are terminated should be the reverse of the order in which they were initialized. What is the significance in the order regards, sk80. In general, as DLLs are loaded they take dependencies on DLLs that have already been loaded. It makes sense then to unload them in the opposite order so that a DLL can continue functioning until it is unloaded. ...Show All
SQL Server SQL reporting services 2005 with CLR
Hi, I am trying to use reporting services 2005 with a VB SQL stored procedure that i created in visual studio using CLR. The stored procedure was created successfuly in SQL server but while linking the report to the stored procedure, i am receiving the following message "An error occurred while retrieving the parameters in the query. The stored procedure 'mysp' doesn't exist. Thanxs in advance No i didn't my sp is: Dim command As New SqlCommand( "SELECT * FROM BDLC8PF" , connection) Dim reader As SqlDataReader reader = command.ExecuteReader() ' SqlConte ...Show All
Windows Forms DataRow Problem?
Windows Forms.Visual Studio 2002 Architect.Northwind.dbo. --------------------------------------------------------------------- Hi, I've tryed several ways and get the same error. I used a Wizard Form. (One ListBox, One DataGrid and Button). I only added: - one MultiExtended ListBox1 and set as ValueMember = "CompanyName", and; - DataView1 plus: Private Sub button1_Click, not work. The System shows an error& ...Show All
SQL Server not able to display image during runtime
Hi guys, i do not know when i get out of this ..... I have a image in system i use parameter to pass the path like - file:c:/Lables/RGlogo.gif . while viewing the preview i give the path, the image gets displayed. After deployment . during runtime if i pass the same path thru parameter it does not display at all. i tried thru my application and thru http://localhost/reportserver directly. neither works pls help me out suresh k When the report is previewed in Report Designer, preview uses the credentials of the user to display the image. When the report is run on the report server, the report server uses th ...Show All
Visual C# MasterPage
Hi guys, I have a base page that basically contructs and loads all the html for every single page I have, i.e it builds the head, body, html and form tags etc I am trying to achieve the following, depending on what role the user is (taken from db) then display the masterpage that matches that role protected override void OnPreInit(EventArgs e) { // code to check which role if (role==Admin) { base.MasterPageFile = "/masterpageforadmin } . . . etc etc in my web.config file i have : <pages pageBaseType="PageSetup"/> My problem is this - because i am building head,form... tags in a base class, removing them from my ma ...Show All
Windows Forms ABsolutely no break-points work. ?!?!
Hi everyone, Using Visual Studio .NET 2003, I have some code where I'm trying to set breakpoints. I put in the "red dot" in multiple locations. It's solid. When I hit "F5" to run the application, all the breakpoints suddenly turn into the red dot with the question mark " ", with a notification saying the "break point will never be r ...Show All
Visual FoxPro return from a form.
Still struggling to communicate with some of my secondary forms. This problem, again, happens only in StartMode = 4. Everything is fine interactively. LOCAL cUserReturn AS String DO FORM <formName> WITH par1, par2 TO cUserReturn. I get an error message that there is operand/operator type mismatch. I tried to define cUserReturn as Variant - the same thing. The expected type of return is String . According to the Help FoxPro is supposed to create a return variable when it is not defined. I tried to leave it undefined only to get another message: cUserReturn not found. Catch-22. I suspect there is something here I do not kn ...Show All
Visual C# How can I get TextBox value from another form ?
How can I get another form component 's value such as textbox,combobox... Please tell me If you know. Thanks a lot ! Take a look on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=141289&SiteID=1 Best regards. Fernando Cardoso ...Show All
Smart Device Development Emulator VS. Device
Hi folks, I got today my 2125 device. J my develop was process was against the emulator, when I deployed and run my app to the device all the GUI controls layout was unlike in the emulator, very disappointed! is there a way to customize the emulator to be like the device screen/controls size.. thanks in advance, Oren. Thanks Ilya for the quick replay :) another question, that I know that it isn't related to this forum but I didn't find the answer yet, maybe you can help me :) (hopefully) becaue it's very annoying issue in my development process. the link for the po ...Show All
SQL Server How do I consume a DataReader Destination in VB.Net?
Hi All, I am attempting to consume the output of an SSIS data flow task in VB.Net. I want to read the contents of a DataReader Destination into an object and loop through or display the results. Thanks in advance, Andy DouglasL wrote: The BOL topic that you want on this subject is "Loading Data Flow Results into a Client Application." This topic mentions the DtsClient reference as well as the other required steps and a significant gotcha. -Doug Just what I was after!!!! Thanks Doug. I couldn't actually find this in my local BOL but I found it online at http://msdn2. ...Show All
Visual C# What's this error???
When I try to changed the name of the control then I received this kind of message. "The name cannot be changed when there is a reference in the markup. Do you continue " Does anybody know where to fix this problem Thanks and Regards, Julia hmmm. when u change the name of the control on the proprety window what error code she has did you tried .. to see what MSDN says please post code error ...Show All
SQL Server Loading multiple files
I have a security system that creates log files in a dbf format. I need to report from a weekly collection for files. I am trying to do this through Integration Services 2005. My hope is to use the for each loop. My problem is the only way I know how to get the data out of the dbf file is to use a .Net ODBC provider connection. In this connection I use a select statement to pull the data from the dbf file and then an OLE DB connection to move the data into a SQL table. When only processing one file everything works just fine. The statement is: select * from c:\datafiles\security\20051107.dbf. When adding the for loop ...Show All
Visual Studio How can i associate a textfield with a property of the ModelElement ?
If i try, i have the following error message : "element of type MyShape does not derive from NamedElement" Here my code : protected override void InitializeShapeFields( ShapeFieldCollection shapeFields) { base .InitializeShapeFields(shapeFields); TextField titleField = new TextField (); titleField.DefaultFocusable = true ; titleField.DefaultSelectable = false ; titleField.AssociateValueWith( this .ModelElement.Store, NamedElement .NameMetaAttributeGuid); shapeFields.Add(titleField); } Thank you. The easiest way to do this is in the DD file, using a ShapeMap, where t ...Show All
.NET Development NullReferenceException when using proxies
Hi, I am quite a beginner in the Remoting world, and I am trying to set up a very simple client-server project to begin. My current VS2005 solution is as follows: . ConsoleService project: registers the remoted type for a client activation. It is a console-based application, as IIS integration is not working anymore for me with the 50630 .NET build (it did work with the 50215 build, though...). . ConsoleClient project: activates a remoted object and makes a very simple call on that object, prints the result on the output, then terminates. . AvocasesService: the Remoted object. Both client and server applications are configured with .config ...Show All
Visual Studio Express Editions Power management
I’m trying to make a power management program that can turn off and on the monitor at given times. I'm struggling with setting the power state. Does anyone have a code snippet that works Check out the MSDN article at http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/tpcsdk10/html/df410a93-d3f1-480c-8542-1c78eb44339a.asp as a starting point. Thanks, Luke Hoban Visual C# IDE Program Manager ...Show All
