h1's Q&A profile
Community Chat New revolution - Classic ASP/VB6 moving onto ASPX and VB.net, what u think ???????
Supp Coder , Just wanna know, now that there are new frameworks and managed codes in .NET while we most are used to coding da classic stuff -------------------------------------------------- Who is going to procede wit da new code style -------------------------------------------------- and who feels like sticking to there old coding style -------------------------------------------------- for example who wants to stick to C+ or who to move on to C# --------------------------------------------------- and what could be da conciquences of sticking to unmanaged coding or is it just a microsoft monopoly act (im a microsoft oriented coders, just so u know) ---------------------------------------------- ...Show All
Visual C# creating an object associated to a form and implementing a collection of forms of the same type
Hi, 1/When we have an faccount form for example, but the account has an accountEntity object (unique). Do we declare the accountEntity as a property of the form faccount or are we supposed to do it the other way:accountEntity has a form property : faccount 2/ Another question pls: If the MDI allows us to show several account forms. how do we declare those accounts within the MDI so we can keep track of them and show them according the user's selection. Do we declare an accounts collection object within the MDI or an araylist of type faccount or how do we implement that exactly. Thank you Thanks a lot Michael . Can you give me a small implementation for those 2 cases. Or tell me if this is right: 1/ in the form class, do i do this: ...Show All
SQL Server The report server The report server has encountered a configuration error.
when I have a file sharing subscription I encount in this error " The report server has encountered a configuration error. See the report server log files for more information ." If I see the report logfiles I see ReportingServicesService!dbpolling!c!22/11/2006-13:30:11:: EventPolling processing 1 more items. 1 Total items in internal queue. ReportingServicesService!dbpolling!d!22/11/2006-13:30:11:: EventPolling processing item b55e4067-a0e3-4d5b-9522-2e0fefcdb09a ReportingServicesService!library!d!22/11/2006-13:30:11:: Schedule 1fecab60-afb8-4b68-8293-cf65fbfd864e executed at 22/11/2006 13.30.11. ReportingServicesService!schedule!d!22/11/2006-13:30:11:: Creating Time based subscription notification for ...Show All
Visual Basic Mac Address of Ethernetcard.
Hi Can some body help me out in finding out which of the macaddress is fixed and doesnot lose the value when the network adapters are diabled. I have used the following code to identify the the mac address on my system. Dim mc1 As System.Management.ManagementClass Dim mo1 As ManagementObject mc1 = New ManagementClass( "Win32_NetworkAdapter" ) Dim moc1 As ManagementObjectCollection = mc1.GetInstances() allValues.AppendText( "Win32_NetworkAdapter" & vbCrLf) For Each mo1 In moc1 Msgbox( "Adapter Type :-> " & mo1.Item( "AdapterType" ) & vbCrLf & "MacAddress :-> " & mo1.Item( "macAddress" ) & vbCrLf) Next The Result i rece ...Show All
Windows Forms C# 2003 DataGrid rows count?
Hello I'm trying to count rows entered into datagrid and there is only metod .visiblerowcount which don't count properly all rows only that visible. Could anybody help with this. Funny but after I've wrote the quastion i found the answer this .dataSetForMyDataGrid.Tables["tablename"].Rows.Count ...Show All
SQL Server Data script task - how to generate multiple rows from one row ? (string splitter)
Hi in input we have a set of rows, each one with a column containing a string (eg: "AAOOOOAAAOOA"). We'd like to split this string (using a vb.net data script task) into tokens (eg: "AA", then "OOOO","AAA","OO","A"), and to output one line per token. How can we achieve that with a vb.net data script task (Or anything else ) best regards Thibaut Thanks a lot Darren ! That's really perfect (and thanks for the detailed sample, I really appreciate). regards, Thibaut ...Show All
SQL Server messages stuck in sys.transmission_queue
Sorry for the stupid question, but I can't seem to figure it out... There are 119 messages that are stuck in the transmission queue, all for the same queue. When I check the status of the queue (via sys.service_queues), is_receive_enabled = 1, is_activation_enabled = 1, and max_readers = 3. When I check to see if there is an active queue monitor (via sys.dm_broker_queue_monitors) there is nobody watching this queue. What would cause this queue to be active, enabled but have nobody montioring it Is there something internal that went wrong that made these (outbound) messages get stuck in the transmission queue, and is not showing up in the views How can I get these messages "un-stuck" and flow through the system A problem I ...Show All
.NET Development vb.net and access
I have set up an access database and am trying to pull data from it. Everything was going fine until I closed out the program and tried to reopen it. I got the following error: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. What have I done wrong. There shouldn't be any type of security on this drive. Larry You have to set trust levels. This is part of the security implementation for running .NET apps across the network. See the following: How to deploy a .NET Framework application to run from a network location ...Show All
SQL Server Not Able to create database in SQL CE
Hi all, i am developing a project in Visual Studio 2005, which requires SQL CE database, i have installed SQL CE on my PC and trying to create one database <anyname>.sdf, but at the time of copilation the following errors are coming: " error CS0012: The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ". can anybody help me. Thanks in advance Amit Hi, I think you are missing some references like: 1. System.Data.SqlClient & 2. System.Data.SqlServerCe Regards Amit ...Show All
Windows Live Developer Forums msn & windows media
hi someone please help. how can i let my contacts see what i am listenin 2 . my windows media doesn't have a plug-in for windows live messenger. HELP PLEASE hello; i have had the same problem; i have the up to date msn live messenger and the windows media 11 beta 2 version. There is simply not an option to select in media player to syncronise with msn messenger. I have scoured the internet for a plugin download but no cigar so far. any help much apppreciated! ...Show All
Visual Studio Team System Merge/shelve/Source Control Explorer Strangeness???
Here is the scenario as best as I can describe it. I'm hoping someone can explain why/how these things can happen. 1. Developer#1 attempts a merge from top of tree to branches\v1.0.x, gets some type of error (maybe SQL error but it put pending changes) Any ideas of what can cause sql errors 2. Due to the error that developer was seeing I (Dev#2) did the merge with no errors and shelved my changes for that developer to unshelve, review then checkin. The developer did this. 3. Developer #3 At some point during the above did a shelve of items they were working on in the branch. 4. Developer #3 notices a branches\v1.0.1 tree with just the files from Developer #1. They also notice some items in the shelve they did show up in v1. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar first run
Being a complete newbie to all of this C# and XNA i loaded up spacewar click on build then installed the project. Then i ran it and a error window popped up, details said something about a missing something or file not found, i sent a report to MS from the window that popped up. I can see im going to have to buy a C# for dummys book cause im totaly lost as to what to do first... Michael Klucher - MSFT wrote: We don't support publishing your game from Visual C# Express at this time. You should be able to run by hitting F5 This may be obvious, but does that mean we cannot burn it on a DVD and play it on the Xbox 360 ...Show All
Visual C# List.ElementAt not functioning.....
I encounter the error : System.Collections.Generic.List<xxxx> does not contain a definition for 'ElementAt'. Althought after the dot operator I could see the 'ElementAt' and used it, i hit the error during building. How come Regards Alu ...Show All
Visual C++ Is there is any way where by i can excute a insert sql query carrying more than one 1 record.?
Am using vc++ 6.0. my application needs in such to save a 100 records in one seconds. but what i have here is the following set of code. actually i execute every insert query for each records. it takes avg 20 mins to save 1000 records. Is there is any way where by i can excute a insert sql query carrying more than one 1 record. TRY { db.ExecuteSQL(sqlQuery); } CATCH(CDBException, pEx) { TCHAR buff[80]; pEx->GetErrorMessage(buff,80); //AfxMessageBox(buff+sqlQuery); pEx->Delete(); } END_CATCH Maybe you should try multiple INSERT statements in a single ExecuteSQL call. I suppose statements can be separated by new-line. Try this: db.ExecuteSQL("INSERT INTO ....\nINSERT INTO ....\nINSERT INTO ...." ...Show All
.NET Development How to instantiate multiples of the same objects, such as order line item.
To create an order I have to create a OrderHeader class and a OrderLineItem class. When I read through the OrderLineItems from an XML. So have create a OrderHeader and OrderLineItem classes. When I read the xml for the OrderHeader information I instantiate an orderheader object. And then the same for an orderlineitem. But when I go to the next line item how to do I handle that second orderlineitem object Or do I have to work with each orderlineitem completely seperate, and loss the the orderlineitem ahead of it Any suggestions for examples is greatly appreciated. Thanks, Thank you very much. I found the MSDN solutions where I created a class that creates a list. Public class myList : I ...Show All
