normala's Q&A profile
Visual Basic Dll entry points..
sorry for asking a easy question.. can i call a dll function using ordinal or entry points.. if not what is there use.. Check out: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconcreatingprototypesinmanagedcode.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconEntryPointObjectField.asp You should be able to specify the ordinal in the alias part of the function decla ...Show All
Visual Studio Need to generate .rdlc at runtime for dynamic report processing in a web form.
Where can i find info on this I want the user to select parameters. I can piece together the SELECT statement from the user inputs. I can fill a dataset with the results from an Oracle DB. I think the final part missing is how to generate and attach a new .rdlc file to render the report. Any help is appreciated. I discuss this strategy in my new book. While it would be possible to create an RDLC file ...Show All
Windows Forms HtmlElement.InnerText NotSupportedException
HtmlElement title = document.GetElementsByTagName( "TITLE" )[0]; title.InnerText = "hello" ; Does anyone know why this line throws an exception and how I can set the inner text of the element. I need to be able to change the title of the page but it keeps throwing the exception. From what I can see this should work. Maybe there is a specific problem when working with the HTML TITLE tag but that just sounds stupid to ...Show All
Windows Forms Threads and forms
Hello everyone I created a simple application to test Form's main thread and other application threads interaction. I found out that always, no matter the amount of time I pass to Sleep() function, Form's main thread begins execution before other threads, and there’s no thread switching at all. I'm using a pretty stardard multithreading code private void PopulateText() { for ( int i=0;i<10;i++) &nbs ...Show All
Windows Forms ClickOnce - How to detect Online/Offline mode
Hi All, We are developing a smart client product which will be work both online and offline. In online mode, it would work with central datastore and offline would support working with local datastore when there is no connectivity. Since we are planning to utilize the Clickonce Depployment here, I have a question on how to detect whether the application is running Online or Offline How does ClickOnce manage it This would help us redir ...Show All
Visual Studio Express Editions Public/Private Sub Issue
I am sure this question has alot to do with my inexperience with VB...so its probably something simple. I have a form with some text boxes on it. I have them set to be ReadOnly by default. I want to make it so they can be enabled by opening a dialog box and typing a password. So I created a public sub( ) that basically just enables the form fields when the correct password is typed. The problem is that the statement that makes ReadOnly ...Show All
Visual C++ lnk2019 Error
Well, most of the time i i can solve things myself, however... i get 2 lnk2019 errors both for the constructor and destructor, Error 3 fatal error LNK1120: 2 unresolved externals C:\Documents and Settings\Admin\My Documents\Visual Studio 2005\Projects\GamesXS\Debug\GamesXS.exe 1 Error 1 error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "public: __thiscall cMain::cMain(void)" ( 0cMain@@QAE@XZ ) GamesX ...Show All
Visual C++ Problems compiling C++ Visual Studio 2005
Hi! I have a large C++ unmanaged application which I compile and run perfectly using Visual Studio 2003. Now, I wanto to compile and run it using Visual Studio 2005. When I compile it in release mode everything works fine, but I get about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such as stdlib.h, cstdlib.h,etc. I would appreciate very much s ...Show All
.NET Development Different Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
hi, all, I did check this forum to make sure that I can dig out the solution from others: " Named Pipes Provider, error: 40 - Could not open a connection to SQL Server ], but cannot. My environment setting is SQL 2000 on Windows 2003 w/ VS 2003 and framework 2.0. I use Namepipes, no firewall, no IP connection in SQL Server but IIS. DotNet application works on develop box perfectly. IIS6.0, Windows2003 sp1, SQL 2000 sp4. Windows Update co ...Show All
SQL Server Modifying View Data
Hi, I was asking how can I make updating and deleting for data through database views in Microsoft SQL Server 2005 Best Regards, Hi, if the database view is updateable you can directly modify the table through thta mechanism. If not (in cases of union etc.) you can use an instead of trigger, which does the custom defined commands *instead of* any command you have defined. The are some sample ...Show All
Visual Studio Express Editions Launch IE and input data
I want to launch a few websites in IE automatically and fill up user ids and passwords. I know how to launch by using Process.Start( "IExplore.exe" , www.google.com ) Now, can I go a step further and input those user ids and passwords automatically Thanks, Antonio The webrowser control is actually a sibset of IE. The control will do almost everything IE will. ...Show All
Visual Basic Com Interop problem with VB.Net project
I have built a variation of the Ldap Authentication function referenced in http://support.microsoft.com/default.aspx scid=kb;en-us;326340#3 The problem i am having is accessing the resultant .dll Do I need to research and develop a "strong name" for the assembly The properties are set to "Register for Com interop". Is C# a better platform for building COM objects I know it is a little ...Show All
Windows Forms TabControl: Selected event ignored in Form Load event
I've written initialization code for each of my TabPages in the the Selected event handler. However, when the form where the TabControl lives first loads, (1) the Selected event of the TabPage that's displayed doesn't fire automatically and (2) programmatically selecting a TabPage in the Form Load event (by using SelectTab or SelectedIndex etc) is ignored and does not fire the Selected event. How do I cause the Selected event to fire on Fo ...Show All
Windows Forms Make Windows Form on top when active
I have two Forms open at a time. How can I switch from one Form1 to Form2 (by clicking on it) The second form, Form2 seems to be hidden behind Form1 even when active. How any idea, pls reply. Thanks in advance. Regards. Hello! I did a Sample Project where a class loads two different forms and both are focusable. This is what I have in the Main method of the loader class. public class Loader { ...Show All
SQL Server Problem with User Defined Function
I wrote a UDF to get a rolling average based upon a date passed to the UDF. The error I get is: Server: Msg 102, Level 15, State 1, Procedure fn_RollAverage, Line 26 Incorrect syntax near ')'. SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS OFF GO CREATE FUNCTION fn_RollAverage(@CURVE_DATE AS SMALLDATETIME) RETURNS @TBLRESULT TABLE (US0001M_Index AS FLOAT, US0003M_INDEX AS FLOAT, US0006M_INDEX AS FLOAT, US0012M_INDEX AS FLOAT, usswap2_i ...Show All
