cristianin_79's Q&A profile
.NET Development Database UPDATE problem.
Just a question. Im really wondering why my sample database program wont update. It will say that it has updated the actual database but when i double check, it didnt. I am not using the command builder coz i want my own sql codes. When I test using the query builder, i will see the data being updated or added but when i use my own program, it really wont. Actually i have this one sample database prog ...Show All
Windows Forms show timestamp on form Help please!
I have a field in a dataSet that is a sql timestamp value: DS.Tables["people"].Rows[0]["myTSField"] Can someone show me how to display this value in on a form If I set the texBox text to this it shows "Byte[] Array" I have& ...Show All
Visual C# Application.Exit Event
I know ive asked this question before but I really didnt get what I was looking for. How would I put this in code. if (application.exit == true) { directory.Delete("C:\hello.txt"); } If you are unclear of what you are looking for, it is going to look like a little lightning bolt. That thing was a god send to me when I first started messing with C#, You should find all the event handling you need in there ...Show All
Smart Device Development VS 2005 Standard Edition Can't connect to Mobile 5.0 device
Every time I try to connect to my PDA ( Dell Axim x51 with Mobile 5.0 ) through VS 2005 it fails. It says "Connection Failed. Can't connect to network. Check network settings" or something to that affect. I have Active Sync 4.0. I know the connection to the PDA was made because a few messages popped up on the PDA asking if i should allow a couple of programs should be executed. I am completely new to Mobile development. Am I missing somethi ...Show All
SQL Server What is faster: DataReader or DataSet or something else?
Hi, I need to read 250,000 records and show this information. I am using DataReader and it takes 8 seconds. I need to raise it to 0.8 seconds atleast. What is faster: DataReader or DataSet or something else Thank's Alexei DataReader is much faster than DataSet. Actually DataSet is populated using DataReader object. I guess in your case the bottleneck is in the amount of data you transfer to client application. Try to reduce the row size yo ...Show All
SQL Server Using XML fields in Report Models
It is possible to use a XML field in a report model The data type "XML" is not present in the list of datatypes. ...Show All
.NET Development Problems with a COM+ distributed transaction
Hi, I’m with some problems when using a distributed transaction in COM+. I wrote a windows service that uses a COM+ transaction, but to open this transaction I have used ServiceDomain.Enter() and ServiceDomain.Leave() methods. It work’s, but the problem is that I can’t have 2 or more process trying to open an transactional context in the same machine, is necessary that the first processes call the ServiceDomain.Leave() to the another process ...Show All
SQL Server AutoClose
How do you set the AutoClose property of a SQLExpress db Also, can the user instance timeout property be set at the database level too to make for easier application distribution. Is there any downside to turning off AutoClose in order to speed up the initial startup times after a period of inactivity. I think the AutoClose property is true by default in SQL Server Express. You can look it up and set it in Man ...Show All
Smart Device Development TextChanged event not happening?
It seems a very basic thing to be wrong, but it seems that the TextChanged event is not happening when the text of the textbox is changed programatically (but it does when text is typed in). The relevant section of MSDN says... Remarks This event is raised if the Text property is changed by either a programmatic modification or user interaction. But in this test app, it only happens when the user directly enters text, not when progra ...Show All
Windows Forms About cell formatting of datagrid in vb.net
Hi all, I am one problem with my vb.net datagrid I want to display the data of a particular cell im my datagrid in the form of x.xxxx when the user enters the value other than this format it should display some prompt message How can&nbs ...Show All
Windows Forms Smart Client load time performance problem
Hi, I need some help with dotnet smart clients. We are facing performance issues while downloading dll'd in a application which is deployed as a smart client. We have around 35 dll's deployed and the load time required is around 19 secs&nbs ...Show All
Smart Device Development reading xml file on pocket pc
Hi, I am using visual studio2005 to write vb to pocket pc 2003. I do not seem to be able to open any files from my code. When i open an xmltextreader no file is found and i get a directory not found error message. I have read an article saying that devices do not use drive letters but taking the drive letter out does not help. Dim events As New XmlTextReader( "C:\events.xml" ) any ideas cheers nubie you would ...Show All
SQL Server Server Time Dimension - Reference Dimension issue
Here is a scenario that mirrors the type of thing I am trying to accomplish: I have a date field called 'OrderDate' in the Orders table. I set up a Server Time Dimension for it (e.g. 'Orders - Order Date'). So I now have an Orders dimension and a 'Orders - Order Date' dimension in a regular relationship. In the Orders table I have a foreign key relationship with a Product table through ProductID. So I set up a dimension called Product wit ...Show All
.NET Development ApplicationBlock
hello, i want to use ExceptionApplicationBlock and i read in the docs that i need to add a reference to Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll assembly but i cant find it in the "Add Reference" window what am i missing thanks I am note sure if it will work with VS2002. Since you say you have an immediate requirement why dont you go ahead with the older block - that should work with VS2002 ...Show All
Visual C++ I can't mix VC & GCC
I compile a 'cpp' file with the g++ (or gcc with -x c++ option) to obtain a .obj file, then I compile the remaining with VC and I have this linking error: main.obj : error LNK2019: simbolo externo "void __cdecl fmulGCC(float *,float *)" ( fmulGCC@@YAXPAM0@Z) sin resolver al que se hace referencia en la funcion _main fmul_GCC.obj : error LNK2019: simbolo externo __ZdlPv sin resolver al que se hace referencia en la funcion __Z7fmulGCCPfS_ fmul_GC ...Show All
