chevoldavis's Q&A profile
Visual Basic FindBy Method not generated
Hi, I was reading the following: Dim customersRow as DataSetClass.CustomersRow customersrow = DataSetInstance.Customers.FindByCustomerID("ALFKI") customersRow.CompanyName = "Updated Company Name" customersRow.City = "Seattle" Found In: http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_raddata/html/d5eea200-9bfa-4956-bf7c-08dd6fb6663c.asp But my data set doesn't seem to have the FindBy methods generated - any idea how i'm supposed to go about getting a data row out of my dataset or datatableadapter to edit it Evan Well i discovered that for variable names, who are the sa ...Show All
.NET Development I want to confirm this about AppDomains.
Hi, In my application I create a secondary AppDomain and load assembly "Foobar". Shortly after, I call: foreach( Assembly a in AppDomain.CurrentDomain.GetAssemblies( ) ) { Trace.WriteLine(a.FullName); } And wouldn't you know it, the "Foobar" assembly appears in the *current* app domain. I didn't think this assembly would be present because it should be in the secondary app domain. If you hold the mouse over CurrentDomain, the tooltip says: "Gets the current application domain for the current System.Threading.Thread" It was then that I seem to recall this: "Managed threads have no app domain affinity, mean ...Show All
Windows Live Developer Forums More than 2 players?
Is it possible I tried changing MaxUsers in msgrp2p.xml but then my app won't even load ...Show All
Windows Live Developer Forums 'footer' is undefined - v3 map
Some pages in our site using V3 are experiencing this js error. Line: 2 Char: 159480 Error: 'footer' is undefined So far, we haven't been able to isolate what is causing this. Seems like others are having the problem too: http://pietschsoft.com/Blog/Post.aspx PostID=1302 Anyone know what causes it use var footer=null; this is not an elegant solution but you can use it till the elegant solution will be available. Thanks ...Show All
Visual Basic How would I get a beveled line?
I want to put a beveled line in my program but I cannot find the control for it. If you do not know what I am talking about, a beveled line is the line that can show up at the bottom of most installer programs. Its the line that seperates the displayed info from the Ok / Cancel buttons. Usually it will contain a line of text. i.e. the installshield installer's beveled line reads 'InstallShield.' I figured since it is possible to put this in those programs then I should be able to put it in mine. If you still don't know what I am talking about then run nearly any installer. At the bottom, above the buttons, is the beveled line. htt ...Show All
Software Development for Windows Vista TypeProvider.RemoveAssembly
Does TypeProvider.RemoveAssembly somehow actually unload the assembly from the app domain (I didn't that's possible) The real issue is if we have a running implementation where someone decides to change the logic in a code activity. Can we load the revised assembly without shutting down the workflow engine Thanks, - Erik Erik - this just removes the assembly from the TypeProvider instance - not from the AppDomain. To load the same assembly with different code you'd have to shut-down the AppDomain. ...Show All
SQL Server SSIS CAL licensing
Hello, How does licensing of SSIS work on a CAL basis As far as I'm concerned there are no users of it per se cos its a back-end process. Therefore, do you only need one CAL Thanks Jamie My understanding of SQL licensing is that a SQL Server CAL License allows you to connect to any and all services included with you version of SQL (RS, AS, DB, etc). Therefore, you only need one CAL if only one user/device is accessing the SQL Server. You may want to reference the following whitepaper on licensing. The breakdown of the different licensing models is on the very first page. http://www.microsoft.com/sql/ho ...Show All
.NET Development Getting client IP
When doing remoting (console application), is there a way to get the client IP address I want to block IP if they try to brute force the login. Sub Main() Dim chan As TcpChannel chan = New TcpChannel(8085) ChannelServices.RegisterChannel(chan) RemotingConfiguration.RegisterWellKnownServiceType( GetType (Server), "RemotingServer", WellKnownObjectMode.Singleton) Console.WriteLine("Server Activated") Console.ReadLine() End Sub Public Class Server Inherits MarshalByRefObject Implements Common.IServer ... End Class I was searching the web to find the answer to my problem and read the Stephen Toub's article ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting fps in the sampleframework
I install the empty project from managed DirectX sample browser as the startup project. The fps is too high and the textures cannot be rendered in correct timing. The fps of the program in window mode are also different from that in full screen mode. How can I adjust the fps so that the maximum fps is around 60 thank you Find the following line, public void ModifyDeviceSettings( DeviceSettings settings, Caps caps) and add this line just inside the procedure call. settings.presentParams.PresentationInterval = PresentInterval .Default; You should end up with the first few lines ...Show All
Smart Device Development Using Pocket PC Phone as modem from within device application.
I have a Pocket PC Phone running Windows Mobile 2003 Second Edition (Sprint PCS PPC6601) and I would like to know if there is a way to access the modem functionality built into the phone from within a .Net Compact Framework application running on the phone. I would like to be able to dial out and receive regular data calls from this application. Notice that I am not trying to connect to the Internet or any other TCP/IP network. Any help would be greatly appreciated! You won't have much luck estabilishing this type of connection with your device. What you're after is something called a "circuit-switched ...Show All
Windows Live Developer Forums Messenger API and Xbox Live
Hi all, With the Messenger API kit is it possible to get information on alerts, specifically Xbox Live alerts I'd like to create a section on the Xbox site I am working on ( www.myxbox.co.uk ) that shows who is on Live and what game they are playing. Was just wondering if this would be a possibility with using the Messenger API. Or perhaps MS will be launching a Xbox webservice of some sort (I am praying here!!!) :-) Cheers Nick Swan So to recap, there isn't webservice or API that would allow me to enter a gamertag(s) and get whether they are on xbox live or playing a particular game Are there any additional ways of get ...Show All
Windows Forms passing variables to form
I made my textboxes on form1 public. I was able to access them through my form2, after I made a statement like form1 form2 = new form1(); Problem is, the text boxes are all empty on form2. Is this because I initiated a new form1 and therefore the textboxes are set back to their default as empty How can I access variables stored in form1 from form2 thanks. Awesome.. thanks.. that worked.. I have no idea why I never tried that. So all I gotta do is define my variables globally. I thought I tried that.. guess not cause I tried a few tests and it works great. Jeez this language makes it awkward to p ...Show All
Visual Studio Express Editions Cannot write to registry
I am making this program that will scan various IE 6 settings including policy and other settings like history, cahce limit. I can read them just fine, but i cannot write to them. it gives me an unable to write to registry error, make sure it is not readonly. Well its not read only becuase i can write to it in regedit. Is XP protecting those keys, i need to write to those values. Also this program is also going to view all running processes, i know how to do that but when i click on system or system idle process, some Process.GetProcesses members cause an access is denied exception. I want to read the process info for system and system idle ...Show All
Visual Studio Installing VS beta on Windows XP with no SP2
Hi! I have trouble installing the SP2 on my PC with Windows XP Pro (.."the product key used to install windows may not be vaild." The PC belonged to my former employer and I don't know nything about the Windows version on it. Is there a way to install VS Beta without the SP 2 Regards, Torunn You can only use a MSDN licence for as long as you continue to pay for the subscription. As the subscription has ended you will need to purchase another copy of Windows. ...Show All
.NET Development Urgent::: Please guys I need your help in this problem
Problem Summary: I tried my best to solve this problem, however I couldn't at all. I'm developing a windows based application which is using a SQL server to store the data in its tables. The following code works very fine with the select statment Dim connString As String = "workstation id=HAITHAM_SALAH;packet size=4096;integrated security=SSPI;data source=HAITHAM_SALAH;persist security info=False;initial catalog=ElShamel" Dim conn As New SqlClient.SqlConnection(connString) Dim sql As String sql = "SELECT UserName As UserName, Password as Password FROM tblAccessAuthority" ...Show All
