franky0101's Q&A profile
Visual Studio Team System Errors after importing schema.
I'm geting the following error after importing, the view works but can't find a reference to the function which has aslo imported correctly. The function is question has red ! icon against it. In most of the object have red ! icons. Error 1 Cannot find either column "dbo" or the user-defined function or aggregate "dbo.udfRemoveNullValues", or the name is ambiguous. D:\VSProjects06\Database\Trunk\EW Databases\EW Application Database\EW Application Database\Schema Objects\Views\VIEW_ERP_INTEGRATION_CUSTOMER_DETAILS.view.sql 5 1 EW Application Database Thanks Probably a silly question but are you running the function in the correct database That is the error message you would receive if you were running that code ...Show All
Visual Studio Team System Unanswered questions about a CTP 6 bug
There is a bug in CTP6(fixed in CTP7 apparently) which means schema comparison does not update target files in a datadude project that are write-protected (e.g. they are under TFS source-control). I talked about this in these 2 threads: Bug (I think) on writing updates from Schema Compare Recovering from a CTP6 bug There are some unanswered questions on these threads that I'd appreciate answering please. What exactly is the fix Does it auto check-out the items for you or does it fail the whole process Either is more acceptable than the current behaviour. How can I recover from this situation in CTP6 Where is the information about what is in the design DB persisted And why is the design DB not recreated f ...Show All
Visual C++ Listen - WinSock
Hi! I am just trying out few options with Sockets... I was reading the MSDN for the listen function and found the following lines.... If there are no available socket descriptors, listen attempts to continue to function. If descriptors become available, a later call to listen or accept will refill the queue to the current or most recent backlog, if possible, and resume listening for incoming connections. If listen is called on an already listening socket, it will return success without changing the backlog. Setting the backlog to 0 in a subsequent call to listen on a listening socket is not considered a proper reset, especially if there are connections on the socket. Can anyone elaborate on the same lines Does it implie ...Show All
Software Development for Windows Vista a question about Vihang Dalal's MSDN article ---"WorkflowDesignerControl"
http://msdn2.microsoft.com/en-us/library/aa480213.aspx is really a good sample of workflow designer out side of VS 2005! but I have a question. when I use VS 2005 default workflow designer, I can define and set a variety "b" like this : namespace WorkflowConsoleApplication1 { public sealed partial class Workflow1: SequentialWorkflowActivity { public Workflow1() { InitializeComponent(); } public int b = 34; } } then I can find " this.b" in the "expression" part of " rule condition editor" of the propert grid. but when I used the "WorkflowDesignerControl" of the article,at first I didn't find where to do the same thing of above ("B"). then I found "M ...Show All
Windows Forms OTP: disabling SHIFT + DELETE
hi , does anyone know if i can disable shift +delete on windows xp or not because i have delete most of my file 3 times allready , when i got use to shift delete now i delete everything like that so i am losing some of mu files by fault, can anyone help me please "sorry if is not fully understandable, because when i am writting this is about 15 min to 1 am in UK and i haven't sleep for about 48 hours, so sorry" thanx These forums are for programming questions only. You need to look elsewhere for help on how to use windows. However, I doubt you can disable it, if you press shift and delete, then you will delete the file. Just don't press shift if you'd prefer it to go to the recycle bin. ...Show All
SQL Server Creating a hierarchical view with recursion
Say, I have a table with 3 columns =============== Col1, Col2, Col3 ============== r11, r12, r13 R21,r22,r23 R31,r32,r33 : : (rows) : I want to create a view that looks as follows ======================================================== Col1_2_3, Col1_2, Col2_3, col1, col2, col3 ======================================================== R11_r12_r13 r11_r12 r12_r13, r11, r12, r13 R21_r22_r23 r21_r22 r22_r23, r21, r22, r23 : : The idea being that col_1_2 appends the strings in columns 1 & 2, col2_3 for columns 2 & 3 and so on...How would I do that in a recursive manner so that it works for tables with any number of columns Can anyone please help Foob: What you seem more interested in is a more gen ...Show All
Visual Studio Team System 64 bit support?
Can i install Team Foundation Server on Windows 2003 Enterprise x64 Edition I havent seen it listed as a supported OS. If not will 64bit be supported any time soon Hi, At the moment you can only install the TFS data tier on a 64bit OS when using a dual-server configuration. Check the section on "64-Bit Operating System Support" in the TFS installation guide for more information. I don't expect to see 64-bit support until the next release of TFS. Regards Anthony ...Show All
Windows Forms Conditionally adding a button to a form
I am new to VB and I can't seem to find an answer to this questions. I want to check the OS Version when the form launches and conditionally add a button depending on what OS is found. I have created a simple form below that has two buttons on it. When clicked the button launches a setup.exe in a directory relitive to the forms EXE. The form below works just fine, but what I want to do is if the OS is Vista, then Button1 should be hidden so that the user can not click on this button and only Button2 is visible on the form. Any suggestions on how to best handle this Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Close() Dim a As ...Show All
Visual Studio 2008 (Pre-release) Returning an array of types defined with a data contract.
I have a method that looks like: ReturnType[] A(RequestType request) The ReturnType is defined in the data contract. I am not sure how to define a message contract for an array of types defined with data contract. I think that is why I am getting the following error: The operation 'A' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters. The request type (RequestType) is defined in the service contract with [MessageContract] etc. I think what I need ...Show All
Visual Studio Express Editions Fonts not correct in Listview.
Hiya, I have a problem. I have a listview control inside a tab control with 2 tab pages. Inside the listview control i'm changing the font when certian critera are met to strikeout. It works perfectly on Tab page 1, however tab page 2 Is all crossed out I have tried setting the font back to regular right before the function call to Populate the List but no luck Anyone know if this is a bug or how to correct it Thanks I couldn't reproduce your problem. I created a tab control with two tabs; put a listbox and button on the first tab and copied them to the second tab. This test program worked as expected: private void button1_Click(object sender, EventArgs e) { if ((listBox1.Font.Style ...Show All
Software Development for Windows Vista No way to programmatically configure firewall in the new "Public Network" profile
The official Vista Beta 2 introduced the new "public network" profile of the Windows Firewall, active when the machine is connected to a "public network" (such as the Internet), as opposed to a LAN ("private network"). Unfortunately, there is no way to get to (and configure) the new "public" profile via the Windows Firewall API. As far as I can see, it is an oversight. In the new netfw.idl and icftypes.idl provided in the new SDK, they have added a NET_FW_PROFILE_TYPE2 enum, which defines NET_FW_PROFILE2_PUBLIC in addition to NET_FW_PROFILE2_DOMAIN and NET_FW_PROFILE2_PRIVATE. However, while there is still the INetFwPolicy::GetProfileByType method that takes the old NET_FW_PROFILE_TYPE parameter, the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how much should xna...
how much space should microsoft xna have cause my microsoft xna folder has just ~ 10 MB. pls answer cause i'm really desperate. i was wandering where did 80 MB go....thanks for reply....and the reason why i'm so desperate (was) was because it gave me allot of error before finally installing and when it did install i was looking for the 80 MB space that was missing from the microsoft xna folder. Thanks for the support ....although kinda figured it out by myself when i so that visual could create xna projects after the installation. ...Show All
SQL Server SQL Server 2005 Evaluation Install Error
I downloaded the SQL Server 2005 Evaluation setup .exe. When I wen to install it by clicking "SQLEVAL.EXE", I received an eror stating "There is not enough space on Drive C:\ to extract this package. I have over 50 gig of available spac eon my C drive. What gives When I downloaded the .exe, I had the Norton AntiVirus Auto-Protect enabled. Could that have caused it Also, 2 days ago, I installed MS-Accounting 2007. Could that have caused a problem I have seen this error posted on the SS2005 forums and the standard response is to look at the installation logs. I have no logs. The extraction never completed. Thanks. Hm....that is very odd. I dug up a KB. Not sure if it will help ...Show All
SQL Server parameters arent refreshing
hi, im using RS 2000, i have a report that gets sent an SQL statement as a parameter. this works fine once. but lets say i send "SELECT * FROM table WHERE col1 = 'blah'" (and out put is correct) but then i send "SELECT * FROM table WHERE col1 = 'foo'" the second one still returns the results from the first query. this happens no matter what parameter i send - including null and blank. anyone know a solution to this i would really appreciate it. thanks. note: i dont think this is a cache problem but im not sure. cache execution is set to use most recent data, no snapshots are stored. i think its something to do with the stored procedure keeping the first parameter. but then if i knew what it was, i wouldnt be asking here woul ...Show All
.NET Development .NET 2.0 WebBrowser HTML editor
I'm working on an application which needs an HTML editor. Since I don't want to use 3rd party controls, I'd like to make an HTML editor for the .NET framework 2.0 myself. But apparently many things have changed, since the framework itself now contains the WebBrowser component. Formerly an ActiveX component was used. But I can't find any method or property for enabling design mode, like the contentEditable property, or something like that. The msdn2 class library reference doesn't contain such a property, as far as I found out. Does anyone know how to enable some kind of design mode on the WebBrowser control, so that I can even get started this .webBrowser.Document.Body.SetAttribute("contentEdit ...Show All
