Software Development Network Logo
  • Visual C++
  • VS Team System
  • Smart Devicet
  • Windows Forms
  • Audio and Video
  • SQL Server
  • Game Technologies
  • Windows Vista
  • Visual C#
  • Visual FoxPro
  • Visual Basic
  • IE Development
  • .NET Development
  • SharePoint Products
  • Visual Studio

Software Development Network >> sroughley's Q&A profile

sroughley

Member List

He is Cool
justme2005
fofofree
AVD
Lolka
adorer
K Sumeet
carlsonad
stallion_alpa
theTroll527
MMMalik
TABLO
o s l e
sandeepbhawsar
George2
Corinna Vinschen
Euclidez
cmaclo
David d48701
Vale Surfer
Only Title

sroughley's Q&A profile

  • .NET Development WSE 3.0 ::: does not contain definition for 'setPolicy'

    Hi all, I'm developing window application and connecting to web service with WSE3.0 using UsernameToken. everytime i try to debug, i will face one problem; --------- Error 1 'FinalSenarioProjectPrototype.PropertyCompanywebService.Service' does not contain a definition for 'SetPolicy' --------- Any body occur this problem before thank in advanced (",) Best Regards, /////////////////////////////C#.NET window application/////////////////////////// private void btnWebService_Click( object sender, EventArgs e) { PropertyCompanywebService. Service srv = new PropertyCompanywebService. Service (); UsernameClientAssertion assert = new User ...Show All

  • Visual Basic How to convert delimiter base text file to .mdb

    Hi, How to convert delimiter based text file to mdb. Actually I need create table structure also runtime. If any has coding like that pls send to me ASAP by Thiaygu I have an old trick I'm fond of. You can import a delimited file into excel and then label the columns and save the Excel file. The Excel file is directly importable into an Access MDB file. ...Show All

  • Windows Forms Button Click not firing after Validation event

    I have a textbox and a button my form. My button has CauseValidation turned on. If I click the button, the textbox validation fires. If the validation is successful, the button receives focus, but the Click event is not fired.  I would like the click event to fire if the validation is successful.     I have the same scenario, but this workaround didn't help me. I have many controls visible simultaneously on my Windows Form. One of them i ...Show All

  • Smart Device Development System.Collections.Generics doesn't exist

    Using .Net CF 2.0 and for some reason the System.Collections.Generics namespace isn't available. It is available to the standard framework, but not the CF. Jordan System.Collections.Generics lives inside the System assembly. Check that you have a reference to 'System' in your project references, and that its path is something like this: C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.dll Best Regards ...Show All

  • Visual C++ Invalid characters in vcproj file

    Hi, I upgraded my vcproj file from VS2002 to VC2005. I have a custom build step in my project which copies file from one path to another, something similar to the following - copy $(TargetPath) ..\..\..\Lib\$(TargetName).lib The problem I am facing is that everytime is close the solution and reopen it, I see a new-line character appended to the above written statement (and is displayed as two square box characters in project properties). And when I build my project, this statement fails to execute because of that new line character. I checked vcproj file in wordpad and these characters are written as 
 Can anyone please tell me how can I avoid these character from getting appended, automatically. Tha ...Show All

  • Software Development for Windows Vista ACT 5.0 + Vista

    Hi All, I am trying to install ACT 5.0 on Vista RC1. The minimum requirement for ACT 5.0 is .netframework 1.1. and Installation of .netframework 1.1 on Vista platform is known issue of Vista. So how to go about the problem. Is there any kind of service pack or patch. Or there is now way of installing ACT 5.0 on to vista platform.. Another question on installing ACT 5.0 on to Win2003 the following feature are not enabled any reason why Compatibility Administrator In Application Compatibility Manager - Test and Mitigate functionality ( 3rd option) doesn't get enabled.. why any reason.Please help. Regards, Ajay kumar Hello Ajaykr, Microsoft provides no official support for beta or pre-release pro ...Show All

  • Visual Basic sql server db access in a dll

    I am trying to create a dataset from a dll. The db file is from SQL Server 2005; I'm using VS2005 VB.NET. After trying numerous recommendations, I still get the error: Error No. 91 Object reference not set to an instance of an object. Here's the code: Dim dataCommand As New SqlCommand dataCommand.CommandType = CommandType.Text dataCommand.CommandText = sSQL Dim sqlConnection1 As New SqlConnection(ConnStr) dataCommand.Connection = sqlConnection1 'Tried with and without: sqlConnection1.Open() Dim myAdapter As New SqlDataAdapter myAdapter = New SqlDataAdapter(dataCommand) Dim myDataSet As New DataSet myAdapter.Fill(myDataSet) ...Show All

  • Visual Studio 2008 (Pre-release) How to handle nullable values?

    I've built a custom user control and gave it a dependency property called "value". I've set property "value" to be a nullable boolean (bool ). Now I want to databind this property to a dataColumn of type "bool". It did not work. The dataSet is not altered when the value is null. Instead the last value the userControl had is returned. This simply means that the Binding engine does not work when the value to pass is null. Thank you. ...Show All

  • SQL Server Affecting SELECT rows to a table variable

    Hi, I would like to know how to add SELECT row to a table variable. It's not for my SELECT syntax(code following is just an ugly example) that I want help it's for the use of table variable. Your help will greatly appreciate!!! ex : DECLARE @MyTestVar table ( idTest int NOT NULL, anotherColumn int NOT NULL) SET @MyTestVar = (SELECT idTest, anotherColumn FROM tTest) -- This cause an error : -- Must declare the variable '@MyTestVar'. What Use an Insert statement and treat the table variable as the table: DECLARE @MyTestVar table ( idTest int NOT NULL, anotherColumn int NOT NULL) Insert @MyTestVar SELECT idTest, anotherColumn FROM tTest There is more information in the Books ...Show All

  • Smart Device Development OutOfMemory exception while loading images from file

    hi, I m fetching the image files and trying to store them in the bitmap object. but the prob is image size is large. and i came to know abt imaging api. But i cant use it, coz i dnt have to change the image size atall. i have to do rotation and then let image to be stored. that is the effect should b on the original image itself. wht to do plz help.Thanx in advance. thanx for the reply. But i already gone through the posts. but i have do rotation on actual sized image and then create a new image.plz help needed. ...Show All

  • Visual C# GridView doesn't show

    Hello, everyone.  I am sure I am doing something wrong and I would like to ask if you could show me my mistake. I am trying to call data from a SQL's stored procedure into a gridview, but it doesn't show up on the page.  The name of the stored procedure is GEM_AP_SearchString.  On the page, I have a text box to accept users' input and a Search button.  The methods are below: protected void btnSearch_Click( object sender, EventArgs e) { lblSearch.Visible = true ; lblSearch.Text = "Your search for " + "'" + txtSearchString.Text + "'" + " returned the following results:" ; this .SearchString( "@SearchString" );              ...Show All

  • .NET Development Marshaling a struct?

    Hello everyone! I hope this is the correct part of the forum to ask this question, if not I apologize! What I am asking is completely foreign to me, so I also apologize if I say anything wrong or incorrect... I am currently developing a component in C# that implements a TLB... A majority of our code is in C#, but we have a few COM components that need access to it so our interfaces were coded as an IDL. So the code will be accessed from both our COM and C# components. Within the IDL I have a few structs that some of the methods return, like this: interface IPresetData : IDispatch { typedef struct { BSTR name; BSTR surname; }MyStruct; HRESULT GetNextRecord([out, retval] MyStruct* pMyStruct); } Now, from what I have read ...Show All

  • SQL Server how do you hide the "show details" button??

    How do you hide the "show details" button i don't want users to be able to click on it and find all the reports we've hidden from them. I'm afraid you'll have to use custom UI to enforce Hidden as a security tool. It wasn't really meant to deny access, rather it's meant to be a UI thing to show/hide details. If you really want to prevent users from seeing things, you should use Role Assignments. ...Show All

  • Visual Studio 2008 (Pre-release) Unable to receive non-WCF multicast message above UDP transport level

    Hello, I am trying to receive WS-DIscovery Hello messages in a WCF service, using the UDP transport in the Sept CTP examples. I can make the sample work with itself just fine. But when I try to receive messages from a non-WCF endpoint (from a device), I can see the message get received in the transport all the way up to EndTryReceive in the input channel (and it is returning a correct message in the output parameter, as well as returning true), but I cannot get my hack service to receive the message at levels above that at all. I am including parts of my code below. I am not sure how folks attach code samples here, so I am just putting it at the end of the message, which will make it hard to read. Anyway, at this point, I am just ...Show All

  • SQL Server Server Connection

    Hi, I have installed my SQL SERVER 2005 Ex Ed on my SERVER. From my machine I can connect to the SQL SERVER. But when I try to CREATE a DB I get the following error: Create failed for Database 'Test' Additional Information: An exception occured while executing a Transact-SQL statement or batch. (Microsoft.SQLServer.Express.ConnectionInfo) CREATE DATABASE permission denied in database 'Master'. (Microsoft SQL Server, Error: 262) When I look in my Object Explorer and on expanding Databases I see master which can be expanded model which can be expanded msdb which can be expanded and my RCH1 that is not expandable. So when I right click on Databases and select new Database and put in 'Test' I get the above error. and I am not in the master DB. ...Show All

©2008 Software Development Network