adorer's Q&A profile
Visual C++ Problem with custom manifest file when building but not rebuilding
Hello, I have a simple dll using a custom manifest file in order to refer to the MFC80 libraries previous than service pack 1. When I rebuild the solution the linker takes the right manifest file and everything works fine. When I modify a cpp file and just build the solution (compiling just that file) and link the embedding file step is not performed and the dll cannot find MFC80 during run-time so my application cannot start; maybe it takes a wrong manifest file. The work around I found is as follow: delete the file mt.dep before compiling my solution. In that case the embedding manifest step is performed and the DLL can find MFC80. Is this behaviour a bug ...Show All
Visual Basic Data update problem
Hello guys, I am failry new to VB.NET 2005 and would like some help from you guys if you dont mind helping me. I have a dataGridView called wr130dg having 5 cloumns of which the 5th column called donecheckdgcolumn is a checkbox column. I want to update only those records where the user checks the checkbox in the wr130dg. This update depends on the first 2 columns namely MoNodgcolumn and SeqNodgcolumn. In short it means that I have to find all the MoNo and SeqNo in the datagrid whose values in done column is ticked and update the date field of the databasetable to current date and done field value to 1. The code I am using to display the data in the wr130dg is: Private Sub OK_Button_Click( ByVal sender As System.Object, ...Show All
Visual C# Class accessibility?
Ok, lets say I make a new project in VS05. I create a button named button1 on a form named form1. Now I create another file and another class (Right Click, Add, Item... C# class). Now I am in another class in another file, but if I do "form1.BackColor" it doesnt work. I cant access the button either. I can also make a variable public int test = 34; Cant access it outside the form1 class either. I tried a lot of things (yes, including putting "public" keywords everywhere) but it wont work. Any ideas Thanks === Edited by AlexTurp @ 12 Feb 2007 11:26 PM UTC=== Both classes are in the same namespace of course. Hi AlexTurp, Some time back I started a thread on something similar regarding class visibility in a C# solution and I was hap ...Show All
Audio and Video Development Question about saveTextFile
Dear All: I have a problem about the function FileIO.saveTextFile(stream, callbackFunction). I do not know how to use this function even after read through the HD DVD menu . I want to modify an file "test.txt" when doing action. But when call the function FileIO.saveTextFile(), the stream value is not so clear. I tried to use: var stream = FileIO.CreateTextFile("c:\testfile.txt", True) ; but cannot work. Anyone know how to call this function, kindly give an answer. Thanks a lot. What kind of exception is it There 5 possible exception s described in the spec: - HDDVD_E_ARGUMTNE - path is a zero-lenght string, contains only white space, or contains one or more invalid characters - HDDVD_E_ARGUMTNENULL - ...Show All
SQL Server Adding an image
Hi, I have a pretty simple question. I have a table, and I need one of my columns to be an 'image' column. I've set the column type to 'image', but now I don't know how to actually add images to that column. Can someone please help me. That depends on your coding language how to upload the data to the server, for C#, see this sample which is quite simple. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=622943&SiteID=1 HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Problem with adding new user to group membership
Hello, I have some problem with adding new user to group membership I have a TFS group that includes Active Directory group, some new developer has been added to active directory group, but I do not see him in TFS Group Membership, I can add him like Windows User, but I need him to be added with AD Group. The problem looks like AD group doesn't refresh or something. Can anyone help me with this Thank you. The Team Foundation Server checks the status of AD groups once every hour. If you need the changes to take effect immediately, you can add the user directly to the TFS group and the user should then have the proper permissions. After an hour has passed does the user still n ...Show All
Visual C# Allow/Disallow download managers to download?
Hello, How do i know the user or the request for a file is being downloaded from a download manager or the default browser is downloading the file from my web server Sorry, but this makes me know the request to an aspx page, but if the user requested the (for example .zip or .exe) directly then i cannot handle the request, so where should i place the code ...Show All
Visual Basic DataGridView Link Column at run time
I have got a datagridview on my windows form from the toolbox. At thsi moment there are no columns in the datagrid. At run time I have generated a tableadapter whose select command is "Select * from.... Join.... where..... " which in turn fills mydataset. Now i have set the datagridview. datasource = mydataset. Now as I run the form it shows me all the columns required but I want the 9th column in the datagridview to be a DataGridViewLinkColumn. So my problem is how can change the existing 9th column to DataGridViewLinkColumn so that using that column i can drill down to other forms Please help me as I am stcuk at this position..... Any suggestions are welcome. Thanks Try doing this: Dim mn As DataGrid ...Show All
.NET Development DataAdaptor Update() method
Hello, I am facing a problem regard updating data back from a dataset to my data store using SqlDataAdapter. first i wished to perform updates from multiple tables at one call for Update() method but it did not work. Then i made a simple application to Update data of one table. Still i am getting same problem. ( No row is being Updated/Deleted/Inserted ). Here is the code. public void DoUpdate () { DataSet ds; SqlDataAdapter da; this .da = new SqlDataAdapter ( "Select companyName, address from companies; Select sms from Inventories" , @"MyConnectionString" ); this . da . UpdateCommand = new SqlCommand ( "Update Companies set companyName='New Compnay'; Update Inventories set SMS='New ...Show All
Visual Studio Tools for Office Issue in Excel report generation
Hi, We recently migrated to Excel 2002 from Excel 2000 and are facing a wierd problem in the excel report generation through our Java code -- Using MIME type Excel. The issue is while generating the report after certain number of rows the values in the cells loses its numeric characteristics even though same code is used repetetively to display the all the rows. The data is absolutely fine and is working fine in Excel 2000. So it would be great if any one can help me to give an insight into what is causing this problem. Thanks in advance, Raghu Hi Raghu this forum is targeted at the VSTO technology, which doesn't include Excel 2002 or automation through Java code. I suggest you start by as ...Show All
Windows Forms i want to read only first line of a notepad file
i want to read only first line of a notepad file if a spacific text (Heading)does contain this will write the text like this Name Father Name ... ... ... ...... how can i do this thanks I am not sure what you want to do here with your condition, but if you just want to read the first line in a file you can can do like this: If File.Exists(Path & FileName) = True Then Dim objReader As New System.IO.StreamReader(Path & FileNavn) dim FirstLine as string Firstline = objReader.Readline 'reads the first line in the file End if ...Show All
Visual Studio Express Editions Themes?
Hi, How can i change a theme form... kidwidahair wrote: What are you referring to as a 'theme form' Steve Or, Has anyone a program which can create Skins for App And how can i bind in my form in Visual Basic 2005 Express Edition ...Show All
Software Development for Windows Vista StateMachine invoke SequentialWorkflow
Hi together, I am using a state machine workflow which invokes another sequential workflow. The sequential workflow gets called but after the sequential workflow has finished, the parent workflow (which is a state machine) switches to the completion state. Example: Sequential Workflow ^ | State A ---> State B ----> State C ----> Completion State As you can see in the sample "State B" invokes "Sequential Workflow". And now when the sequential workflow gets finished, the parent state machine switches to the completion state instead of "State C". Any ideas what's wrong here Cheers, Franz I was just about to post that I want to do the sam ...Show All
Visual Studio Express Editions Passing data between a DLL and an .exe
Using the application wizards in Visual Studio Express 8.0 (with C++) I created a solution with 2 projects, the output of these projects are "MyMath.dll" and "GUI1.exe". MyMath is built from "MyMath.h", "MixedNum.h", "MixedNum.cpp" and some ancillary files like "Stdafx.h", "AssemblyInfo.cpp" and "Stdafx.cpp". GUI1 is built from "Form1.h", "GUI1.cpp" and ancillary files. I have a single class named "Fraction" defined in MyMath. MyMath contains the math functions I am defining and GUI1 is the Windows interface. Data is input through this windows form and the result is output through the same form. I intend to run these as sepa ...Show All
Visual C++ how to get rid of 0xc0150002 error?
Hi all, I have this 0xC0150002 error when I tried to run my client.exe. I am making use of log4cplus.dll and have put it in system32 folder. What else must I do to make my program run I have been trying to run my program in a different pc. My client program was created using VS2005 with the log4cplus.dll in system32 and the include headerfiles of log4cplus placed in VS8/Common7/Include folder. It compiled nicely. Ok trying the Profile of depends.exe, I found out that the program successfully hooked up NTDLL.DLL. And later, it threw a 0xc0150002 exception. Any suggestions how I can go about it thx Atiz ...Show All
