ReyCri's Q&A profile
Windows Forms Columns in DatTable???
If i have some data associated with a dataset and in that data I was pulling data from 3 different tables but I only wanted my datagird to show specified columns that I choose could i do that Anyone got any links on how i could get that done The easiest method is just to make the unwanted columns not visible....however I believe that you are able to setup the view with only your specified columns ...Show All
Visual Basic ActiveX component can't create object
I have an ActiveX dll written in VB6. When using the dll in a VB.Net Windows application, it works fine. When using it in an Web application I get the above error; e.g.: Dim myObject As Ns.Object = New Ns.Object() Dim result as String = myObject.Test() '--ActiveX component can't create object I have tried (based on Google and other searches): Giving anyone and everyone Full Control in the directory with the ActiveX dll Updating the IIS configuration to all operations in the virtual directory Creating a .Net dll to wrap the ActiveX dll and installing the dll and interops into the GAC. I have seen this question posted elsewhere but I haven't seen a solution posted. Any thots pjp ...Show All
Visual Basic Web Activex UserControl Does Not Appear in my browser
Hi, I have created an .OCX in VB6 for use on a web page. I created a .cab file with Package and deployment wizard, then I Signed it, and placed this file on the web server and updated the web page with the <OBJECT> tag with the correct guid, etc. When I hit the web page, it prompts me and asks if I want to download and install the component. I click yes and it appears to go through the motions of downloading the .cab, etc. But the controls never appears on the web page. The ocx has just a textbox and button ...all of the code is just like this: Private Sub UserControl_Initialize() MsgBox "UserControl initialized" End Sub Private Sub cmdCommand1_Click() MsgBox txtText1.Text End Sub As you see, I added a textbox " ...Show All
.NET Development .NET Framework 2.0 (x64) Installation and DW20.exe location
After .NET Framework 2.0 (x64) installation, I see DWDC20.dll and Program Files folder in D:\ Drive. To be exact, D:\Program Files\Common Files\Microsoft Shared\DW\ folder has been created along with language subfolders (such as 1028, 1031, and so on). Also, there are DW20.exe DWDCW20.dll, DWTRIG20.exe files in that specific folder. I have my Windows XP Professional x64 edition installed on C:\ driver and I do not have any software installed on D:\ drive. (that's why I have noticed this folder creation so quickly). Either installing .NET Framework through Microsoft update or through downloaded standalone .NETFX 2.0 installer creates the same folders and files in D:\ drive not C:\ drive. Is this a bug Why does .NETFX 2.0 installer ...Show All
.NET Development How to retrieve a list of active sessions?
I have an ASP.NET application and in Session_OnInit I popuplate an arraylist in my "Application" space which contains all IDs of users logged in. I want to do this: If an user log into my web application and another user is logged this the same account, I want that the last user that log in take a valid session so I want to invalidate the session of the "old" user. Is there a method to access the list of active sessions on web server and Invalidate a specific session to forced the logout of an user logged in ASP.NET web app specific questions should be asked in the forums at http://forums.asp.net . This forum is for questions related to web services. My best guess at an answer for ...Show All
SQL Server 28000: [Microsoft][ODBC SQL Driver][SQL Server] Login failed
This one may stump the experts.... Feel like a challenge The application is VB 4.0, running on a SQL 6.5 DB. The company downsized and only one pc was left to access the application/database, which is mission critical (don't get me started ;-) The current administrator rebuilt this pc and in the process application no longer connects to the DB. The error received is 28000: [Microsoft][ODBC SQL Driver][SQL Server] Login failed Here is where is gets strange. The I've tested from the pc and while I can connect with the appropiate ODBC source driver when using MS Access, when attempting the same with MS Query it gets weird. The tables are displayed, but attemp ...Show All
Community Chat Automate Data Input
Hi, I'm looking for a software application that will allow me to enter data into a third party application. I need to run a query on my database take the results and input them into the third party application via the user interface. I don't have access to the third party's database therefore I need to enter the data via their user interface. I've found macro software that automates windows tasks, but haven't found anything that will run a query and take the results and enter it into the user interface of another application automaticlly. If you have any suggestions or have heard of any software that can do this, please let me know. Thanks! This is the first message I have ever looked at in this forums so I don't know what is approp ...Show All
Visual Studio 2008 (Pre-release) debug.assert didn't work in debug mode.
Hi, I am working on a wpf project and debug.assert won't pop up the message box when the condtion is false. public class MainApp { static string KioskName = "Kiosk" ; [ STAThread ] static int Main( string [] args) { D ebug .Assert( false , "test" ); => this won't stop if I run in debug mode (using F5). ... } I guess this might have something to do with my project set up but I can not figure out why. (If I create a new wpf project, debug.assert works fine) Please help since debug.assert really helps during development. thanks/chong Thanks for the suggestion but I have "DEFINE DEBUG CONSTAND" defined in the " ...Show All
SQL Server The IDMClusteringAlgorithm interface
Good morning, Well... I'm implementing a clustering algorithm following the examples given on the Managed Plugin Algorithms tutorial. As the samples are in C# and I'm implementing it on C++, I'm facing some problems, but nothing really significant. But I've some conceptual questions about the implementation: 1) It necessary to implement the IDMClusteringAlgorithm interface in order to implement the ClusterMembership() and the CaseLikelihood() methods, right 2) The changes needed to be done on the Navigation class have nothing to do specifically with clustering. These changes are only to set calculated statistics to be shown, and if I want, I can simply don't implement them. Is this correct 3) Is there any documentation on ...Show All
Visual Studio Express Editions DataSet Update
Hello everyone, This is probably a really stupid question, but I’m stuck… … I have crated a from with all the trimmings (looks very nice, honest), I have a panel item (pannel1) at the bottom containing 3 buttons (btn_new, btn_update, btn_close), above this I have a SplitContainer item (splitcontainer1) which the left panel contains a ListBox item (lb_name), and the right side contains three TextBox items (txt_fname, txt_sname, txt_phone), and 2 buttons (btn_save, btn_cancel). Now I have created my connection to my DataSet (address_ds) by clicking on that nice little arrow in the top right corner of lb_name, this in turn created addressDataBinding and addressTableAdaptor, I have also bound txt_fname.text, txt_sname.text and txt_ph ...Show All
Windows Forms User Control events firiring
hi i have a usercontrol and i want this user control to fire and event or call a procedure from the contrinting form can we do that In the user control: public EventHandler Button1WasClicked; private void button1_Click(object sender, EventArgs e) { Button1WasClicked.Invoke(this, EventArgs.Empty); } In the form: public Form1() { InitializeComponent(); userControl11.Button1WasClicked += HandleUsercontrolEvent; } private void HandleUsercontrolEvent(object sender, EventArgs e) { Console.WriteLine("Button 1 waz clicked!"); } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Download
How big will the file be I'm rumming on Dial-up and don't want ot be waiting for hours trying to download it. Pretty much everything takes hours on dial-up, so be prepared. If it's under 50MB I'll be surprised, but I'm thinking more like 100MB or more. ...Show All
.NET Development WebService Error --- Object reference not set to an instance of an object
hi, I am currently developing a window application utilizing webservice. the whole things run correctly, however when I run the window application on some computer, It comes out this error : System.NullReferenceException --- Object reference not set to an instance of an object it is obviously the window application cannot regconize the webserive. but it runs correctly on other computer with the same OS(windowXP SP2), what is the reason can anyone tell me it will be greatly appreciated for your reponse. My window application is developed on .Net Framework1.1, VisualStudio2003. MS SQL Server2000. Dave thank you, following this is the error stack trace: I googled that probably this is derived ...Show All
Internet Explorer Development Organizing IE7 Toolbars - Google hijacks toolbar layout.
What a Horrible experience has been using IE7. First I can't put more bars in the same row as the address bar So I get a incredibly big address bar and loose a lot of screen. Other problem is that toolbars dont stay in the place you put them. They keep moving even if you lock the toolbars. Is this a Primary BUG at IE7 Is there anyway to make IE 7 as useful as IE6 and customize bars the way I want and not the way the developers wanted Thank you in advance for solutions.... >Is there anyway to make IE 7 as useful as IE6 and customize bars the way I want and not the way the developers wanted Yes, I am working on a toolbar that is designed to replace the standard navigation bar of IE7. And there ...Show All
SQL Server Is there a load event or run event?
Is there a load event or report run event for a report that can be accessed I need to have my report jump to a certain url whenever it is run but I cannot use the jump to url because that has to be clicked. I need this to occur automatically. Any suggestions Yes, you can use the Code section in the in the Report properties window. Actually, I was mistaken. You do not need to add any thing in the References Tab. The Classes you need are in the System.Net namespace and are contained in System.dll. Since this is the case, all you will need to so is add the namespace to the beginning of all the WebRequest and WebResponse class names, something like, Protected Overrides Sub OnInit() Dim request As System.Net.WebRequest = System.Net.W ...Show All
