FHJJr's Q&A profile
Windows Forms Strange text characters - how do I get rid of them?
Hi All, I have an VB.NET app that creates word documents. My problem is at the begining of lines a strange box appears. I dont know how it gets there or what causes it. I think it must be some character word doesnt know how to display but where that character comes from I dont know. It tends to be on a line were the previous line was terminated with a VBCRLF or a System. Environment.NewLine. Have a look at it here: http://www.dreamfree.co.uk/df/newline.html Any ideas Danny Some more info that may help. Sorry about the rubbish coding standards. The function tries to make a judgment on whether or not the 'Input' string is a clear add ...Show All
Visual Studio Problem building
I have been successfully using VS 2005 Beta 2 (VB.NET) for about a month now. Yesterday, I started getting the error: Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' because it is being used by another process. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2274 9 This error does not occur the first time I build the solution after just opening it in VS. But all subsequent build attempts fail with this same error. If I exit VS and reopen the project then I can again build one time and al ...Show All
SQL Server Dynamically determining the SQL statement?
Hello all, I am working with a client who will be creating "template" report for users to be able to customize. The customization settings will be stored in meta data on a SQL Server somehere. Part of the customization features will allow users to filter the data that they view. There may be 20 plus filters on any given report and they may want to filter in many different ways (i.e. sometimes to an Equals, other times an IN (), other times a LIKE, etc...), but only one way per field, per customization. With this many possible filters, I want to avoid having the report authors be responsbile for coding the ...Show All
SQL Server Error-14010-remote server not defined as subscription server
Running SQL Server Personal Ed (Server A) on Tablet PC (publication and distribution setup here) trying to push data to SQL Server 2000 Enterprise Ed. (Server B). When I start sync I get two failures. First is 'remote server not defined as subscription server'. Second, subscription to publication xx not valid (error# -2147201019). The snapshot is succeeding fine. What do I need to setup on Server B I have the same db on both servers. I did run sp_add subscriber only to verify Server B already exists. A subscription shows up on server B; listed as never started. I have not been able to succeed this ta ...Show All
SQL Server A Better Way (Complicated Select Statement)
After hours of trying, I finally got a select statement to return what I needed, but I am not sure how I am doing is the most efficient way. Please give me your input. Here's the situation: I want to allow customers to add to their magazine subscriptions online, so I created an aspx form that shows the magazines they are currently subscribed to and allows them to choose from other "available" magazines. In the available magazines field, I want to show all magazines that we have minus the ones the customer is already subscribed to. MY pb table lists all of the magazines. The info table lists customers and their current magazi ...Show All
SQL Server Send Muti-Values to Stored Proc?
Hi all, I am not too sure whether someone asked this question before, but I am thinking is there a way to send multi-values (selected from a multi-value parameter) and send it to a stored procedure from a DataSet in reports Anyone have any idea how to go about this please help out. Thanks in advance. Daren If the data source type is "SQL Server" or "Oracle", binding a multi value report parameter to a query parameter of the stored procedure will pass in the selected values as comma-separated concatenated string query parameter value. E.g. selecting "A" and " ...Show All
Visual J# Creating a file in ASP.NET 2.0
Hi; I have an ASP.NET app in C# that calls my library in J# and that library creates a file. The problem is the file that is created gives no rights to IUSR_JASMINE (computer name is jasmine). The directory the file is created in has read permissions for IUSR_JASMINE. What is going on thanks - dave Hi, Few queries here... In which account the C# app is running Is that an Admin account And what all privileges/permissions IUSR_JASMINE has on that system/directory Also which APIs are you using for creating/writing/reading the file Please post back with all this information and also the error/exception you are ge ...Show All
SQL Server ntwdblib.dll not found
We have just installed SQL 2005 on a brand new server and have installed our software for our business solution. When I attempt to run the program, it says that it cannot find "ntwdblib.dll" Where is this file Am I missing a file from the install or what I'm running into a similar problem, and was wondering if the NTWDBLIB.DLL file is a freely distributable file from Microsoft If it is, then the file could be distributed with our application to ensure that it works with SQL Server 2005 database engine. I understand that this would be a short-term solution, until the next build of Microsoft ...Show All
Visual C# state management
Hi all!! I'm newbye in c#. I'm looking state management for web apps. I read about web.config, Application[".."], Session[".."], ViewState... It's OK. My question is: I'm writing a web user control and i need to expose a connection (to DB) or a connection string. It's a sensible data! How can store it in my control I''m using Session["..."]. Is it correct (i'm not using web.config because it changes from app to app and i'm writing user control!) What are you using in your applications Are there other methods Thanks, Regards, Ema Why should a UserControl use a Connection string. Then it isn't reuseable. Just give th ...Show All
Software Development for Windows Vista WfRuntime instance & Wf instances relationship.
Hi everyone, Someone please explain: Can same WorkflowRuntime instance launch more than one instance a workflow type If yes, * does every workflow instance runs on a new thread * Can it also launch instances of more than one type of workflows Thnaks kr Yes and yes. The actual threading mechanism is provided by a threading service that the workflow hosting application implements. The normal behavior is that this threading service provides a thread from the .NET thread pool for each new workflow instance that the workflow runtime starts. Cert ...Show All
SQL Server about add a web service reference that create by sql server 2005 in vs2005
There was an error downloading 'https://wangzhongtao.chrtech.com:8080/ProductCatalog wsdl'. The underlying connection was closed: An unexpected error occurred on a receive. m_safeCertContext is an invalid handle. thanks ...Show All
SQL Server Multi-Parameter (Select All) Detection in SSRS 2005?
I'd like to know if SSRS provides a way to determine if all rows are selected from a multi_valued parameter dropdown list I thought of how I could do this programmatically, but didn't want to build something that is already in the product (if it exists that is). Thanks. There is no built-in functionality, but here are some ideas: * if the multi value parameter has a pre-defined (constant) list of valid values, you know how many values are available for selection. The report parameters in RS 2005 expose a new property called .Count which tells you the count of selected parameter values (e.g. =Parameters! ...Show All
Windows Forms Message Box Displays Blank without a Message and Caption in the Control Name.
I developed a window application and i displayed a message box it was not working properly. It displays in blank manner not showing the message and caption of controls in it is not displayed. Help me......... I used the following code: Msgbox("text to dispay",title) MessageBox.Show("text to display",title) ...Show All
.NET Development Decimal Tostring help
Please help guys, I'm reading a decimal value from my database for display on my winforms textbox. I call a method with the returned decimal... private void SetValue( decimal Value) { string tmpVal = Value.ToString; } at this point, if the Value parameter passed is something like 100 tmpVal is set to 100.00 and if the Value is something like 12.09 tmpVal is set to 12.090000 I dont understand it, for some reason, it appends zeros when converting tostring, i place breakpoints and I can see the value passed to the method is correct and the tostring method is padding the value with zeros.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. REF mode D3D
First thing - does MS(r) D3D(r) REFerence rasterizer provides pixel shader support Second - I've launched D3D(r) Pixel Shader example of MS(r) DX(r) 8 SDK (r) and on my GPU (Intel 82588 GM/GME or something like this, if it will be neccessary I'll write full naturally name, VGA not compatible) it, naturally, launched in REF mode, but the output picture was black screen. Interesting example . The same picture I've got when launched my own app. With or without shaders... Is it troubles of MS (r) DX(r) REF or there is not enough only to specify that you're using REF device Well, I think, I've found the ...Show All
