baysurfer's Q&A profile
Visual Basic Culture date format and system dat format conflicting
my VB.net 2005 Application is My .Application.ChangeCulture( "en-GB" ) the problem is, my OS dateformat may be will not be matching my application culture. e.g. 7 april 2007 at my application = 2 July at my OS my prblem is: when I send 07-02-2007 to my database it will save depends on my OS format then when I retrieve the value it will be 02-07-2007, it changed from april to july I'm really not sure what the problem is: a date is a date regardless of the culture. I don't use Access, but it should be irellevant. Simply inserting/modifying date/times as universal format inserts the data correctly. It doesn't matter what the application culture is, the OS culture or the Database culture. Insert the date as a ...Show All
.NET Development SQL Server error -- Associated statement is not prepared
I have an sql stored procedure that runs fine when tested in the Query Analyzer. However, when I attempt to call this stored procedure from a c# web application I get the following error ERROR [HY007] [Microsoft][ODBC SQL Server Driver]Associated statement is not prepared Does anyone know a possible cause or solution to this error. Thanks Jeff, Yes, I did relsove the error a little while back with the same approach that you have mentioned. Thanks though. ...Show All
SQL Server BEGIN STACK DUMP error in log viewer
Hi We are having problems with our application that uses SQL Server 2005 in a cluster environment. Sometimes the system stops answering and registers in the log viewer the following error: ===================================================================== BugCheck Dump ===================================================================== This file is generated by Microsoft SQL Server version 9.00.1399.06 upon detection of fatal unexpected error. Please return this ...Show All
Visual C# InterProcess Communication, .Net to C++
AOA, I seek suggestions and possibly solutions to the problem stated below: I have an application written purely in .NET ( Windows Form Application) and another application that is supposed to be written in MFC(Visual C++) or Win32 GUI Application. The problem is to communicate data between the two applications. for example, If i click a button in .NET GUI application, the data(some text) shuld be sent to the VC++ GUI application. Both the .NET and VC++ application will run on the same PC. One option that seems applicable is to use sockets for data communication between the two applications. But since both application will run on the same PC, I thought if there were some other faster options available. Like inter ...Show All
Visual Studio Express Editions Find a arrayList value in a string without looping trough it?
Assume i have my code like this... ArrayList test = new ArrayList (); test.Add( "Test1" ); test.Add( "Test2" ); test.Add( "Test3" ); string s = "Kevin tells you, 'Test2'" ; for ( int i = 0; i < test.Count; i++) { if (s.Contains(test .ToString()) == true ) { MessageBox .Show( "Found string in Key " + i + "!" ); } } Is it possible to do the same without having to loop (for function) the arrayList Cuz the array in my program can be huge and looping will delay to much. Also need to have the key returned where the match is been found in the ArrayList. Regards Kevin; Still confused, Look at the following code... Dictionary < stri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How modify vertices of a vertexbuffer? (C++)
It’s my first post here so i’ll try be as much clear as i can. I’m using directx SDK 9 with C++ (native) on the Visual C++ to try build a app that loads a mesh created on 3d studio max and manipulate (refresh to be more specific) some points of vertices of the mesh (try imagine my mesh be a cone, and the top of the cone have a point that ’ve coordinates 1,1,0), all the vertices ’re filled on the vertexbuffer, and i want to refresh that coordinates to 2,2,0. The question it’s how i modify the points (vertices) of my mesh (the cone), i tryied just acess the buffer using the lock and unlock, but the points of the buffer dont refresh. Another question, if i load a mesh, and wants use a lot of them i use a array of ver ...Show All
Visual Studio Express Editions Broken BITS
I've been trying to install Visual Basic Express. When the installer attempts to download the installation files it gives the following error: Required Prerequisites ---------------------------------------- BITS Service BITS serice must be enabes before you start the installation process. Enable the BITS service and run setup again. For troubleshooting tips, see Download Troubleshoot Guide. ---------------------------------------- When I tried to enable and start he service manually, the BITS service doesn't show up in the Services list. When I tried to install the service using update KB842773, I get this error: "Setup has detected that the Service Pack version of this system is newer than the update you are applying." Does any ...Show All
Visual Studio Express Editions Itanium
I have an rx2620(2 cpu) W2003 Server ITAINIUM . Anything I should know before I try to install the Express Version of anything What if, any, images can it build Well installing VB Express didn't work on the Itanium. So I installed on my laptop and added the Windows 2003 Server SDK and built a little application for Itanium successfuly and moved it to the Itanium where it wouldn't run... not sure why. Maybe I'm asking the wrong question. How about this: I found out I can't install VB express on my Itanium so I need to develope on my notebook. What do I need to install on my laptop and Itanium to build and run Itanium code Like VB Express, then .Net and W2003 Server SDK Server .net runtime I think I'm ...Show All
SQL Server Using stored procedure as OLE DB source with parameters from package variables
Hi Guys, (I have searched this forum extensively, but still can't find the solution to this problem) Here it is: I have step in my ETL process that gets facts from another database. Here is how I set it up: 1) I have to package variables called User::startDate and User::endDate of data type datetime 2) Two separate Execute SQL Tasks populate those variables with appropriate dates (this works fine) 3) Then I have a Data Flow Task with OLE DB source that uses a call to a sproc of the form "exec ETL_GetMyData @startDate = , @endDate = " with parameters mapped accordingly (0 -> User::startDate, 1 -> User::endDate) When I run this I get an error 0xC0207014: "The SQL command requires a parameter nam ...Show All
Windows Forms How to change Text property of label control from a thread
Hi Can anybody help me to change the text property of label control from a thread.(when a thread is running I need to change the Text property of Label) Thanks vizai Hi Karthik, this property has been available in all versions of the framework, see: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.invokerequired(VS.80).aspx It allows you to check if you are on the correct thread before updating a control. Mark. ...Show All
SQL Server Merge: Records associated by a JOIN Filter not being sent to a subscriber
Hi, I have a merge (SQL 2005 Standard -> Express) topolgoy which is having problems The main problem is that the join filters don't seem to work for one area and I am hoping someone can help me with some troubleshooting advice There are 140+ tables in the topology but the ones causing particular pain are a parent child relationship where the child is actually a bridge/linking table to another table. Therefore although it is a parent child in the replication filters it is the reverse. i.e. the child has the paramterised filter on it and the parent is one level down joined by it's id. There are other tables joined to this parent table but it stays at three levels deep. The @join_unique_k ...Show All
SharePoint Products and Technologies Sites or Portals
I am currently investigating the rollout of Sharepoint 2007 to teaching staff and students but are currently unsure at this stage what's the best and most effective way to deploy this. Each of the teaching areas is split into directorate and then into departments, like so; Institute of Tourism and Sport (Institute) Tourism (Dept) Hospitality (Dept) Sports Studies (Dept) Would it be better to structure the deployment so that each Institute is a portal and the departments is a site, or create a single portal, create the Institute as category groups and create the departments as sites What are the pro's/con's of each take a look at the Plan sites and features section the Planning a ...Show All
SQL Server Remote connection to Analysis Service giving problem.
Hi, I am stuck up with one of the deployment scenario. I have web application through which we can invoke reports. Reports are developed in SQL Server 2005 Reporting Service. The reporting service project sets data source connection with Analysis Services database. If we have all this on the same machine, we are able to integrate and see the results end to end. However we are stuck up with the following deployment scenario. Say our web application is on A machine SQL Server 2005 database on B machine SQL Server 2005 Analysis Services on C machine SQL Server 2005 Reporting Services on D machine. so analysis services C machine pointing to database on B machine. and reporting services D machine pointing to analysis services ...Show All
SQL Server Deploy SQL Server Management Studio
Hello, I need to deploy Server Management Studio by Active directory and I will like to know where I can find the MSI do it. (I didn't find it on the CD) Thank you for your help There is no separate msi file for SQL Server 2005 Management Studio. Instead, SQL Server Management Studio is packed in SqlRun_Tools.msi under tools directory. ...Show All
Visual C# library for smart card
hi i'm not sure if this is the right place to ask this. where can I get c# smart card library, if there's any any help is greatly appreciated. thanks I hope you will find usefull informations on http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcesmart/html/ceconSmartCard.asp Best Regards, Misa ...Show All
