|
I'm not exactly sure, I don't se why not.
But shouldn't there be a WHERE (not an AND) before P1_INDU_SUBSECTOR_CD = ' '
-Kevin
|
|
|
|
|
Sorry folks, any good forum for Windows Mobile Application development.
|
|
|
|
|
You mean like the Mobile Development forum here?
only two letters away from being an asset
|
|
|
|
|
Hi All,
Do you have a code that allows me convert 3GP to MPEG4 file format?
I receive video in the form of 3gp format and would like to change them in to MPEG4 file format.
Thanks for your time
-- modified at 10:54 Thursday 16th August, 2007
|
|
|
|
|
I posted this a week ago in the Windows Forms forum, but got no responses so I'm trying it again here.
I'm trying to extend the window frame into the client area on Vista using interop to the DWMAPI. I have it working just fine when the client is running the Vista Aero theme (that's the one with glass enabled).
The problem comes in when I switch the client to running the Vista Aero Basic theme (which doesn't have glass enabled). Instead of the frame being extended into the client area without the glass effect, I don't get any change.
I know it can be done because the Vista Explorer and IE 7 do this when running under Aero Basic. My question is how is this happening? I know it's not a function of the DWM, since the call to DwmIsCompositionEnabled[^] returns false . Does anybody know what API's are being called?
|
|
|
|
|
Not sure if this is exactly what you want but I did find this video interesting on
MSDN Nuggets
Keep your eyes open, you might spot alternatives.
|
|
|
|
|
Thanks for the link. It helped confirm that I was doing everything correctly, but still didn't help figure out why the frame isn't extending on the Aero Basic theme. I emailed Daniel to see if he can provide any more insight into what is going on.
|
|
|
|
|
Yeah, I would have thought there was some way of knowing, since Vista makes that judgement on who is privileged enough to use the glass effect.
Keep your eyes open, you might spot alternatives.
|
|
|
|
|
Hi,
How can I retrieve Files/Folder from the "System Volume Information" folders from my system using C# code?
thanks & regards,
ramesh
|
|
|
|
|
Hello,
I don't really know, what you want to do,
but have a look at the "System.IO.Directory" namespace.
There are lot's of usefull features.
Here the msdn link[^]
All the best,
Martin
|
|
|
|
|
Hi,
you won't be able to do that with regular stuff such as File and Directory.
and you can't open it with Windows Explorer
it is not even a regular folder, it is more special than the RECYCLER folder.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
I am new to programming .net and i have a project to convert a java servlet that handles the headers and footers of all our websites into a .net dll so all .net apps can use this.
Any suggestions on where to start and/or articles would be appreciated, exspecally concerning the conversion of httpservlet calls.
I have been programming in Java for 3 years, and have limited .net experince, but have been a web dev for 10 years and used to program in vb6. We are using c# though.
Thanks for any suggestions, sorry so vauge.
|
|
|
|
|
You need to look at an HttpHandler. There are many examples easily found in google. Note that this doesn't work across all sites (you will need to install it on a per-site/server basis), and it doesn't cope with none ASP.NET pages.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
there is Visual Studio J# Express Edition 2005, which works with a language that
looks, smells and feels like Java, and integrates well with the other CLR languages.
I don't know how long it will be supported and survive, but it is there now.
I expect it could deliver your .NET DLL in a snap.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Luc Pattyn wrote: I don't know how long it will be supported and survive
It has been killed, i.e, there will be no new versions. But it will be supported in the usual MS way - extended support with security patches I guess for 10 years from Nov 2005?
Kevin
|
|
|
|
|
Thanks for the info.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
While i understand P/Invoke and have written a few basic function calls, i have no idea how to Invoke a method on an instance of a COM Object. Could anyone give me any pointers as to:
1) How to create an instance of a COM object in .Net
2) How to do a non static P/Invoke on an instance of a given COM object.
Cheers
Tris
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
|
Sample XML
----------
<Licenses>
<License SystemIdentifier="1-E44EA87E32A5" HostName="host1" IPAddress="192.168.1.1" ProductName="Installer" />
<License SystemIdentifier="1-E44EA87E32A5" HostName="host1" IPAddress="192.168.1.2" ProductName="MSI Packager" />
<License SystemIdentifier="1-E44EA87E32A5" HostName="host1" IPAddress="192.168.1.3" ProductName="Custom" />
</Licenses>
C# Code (FAILS)
---------------
XmlNodeList nodes = xml.SelectNodes(@"/Licenses/License[@HostName='host1'] and [@IPAddress='192.168.1.2' ]");
XmlNode node = xml.SelectSinglenode(@"/Licenses/License[@HostName='SIN520APP190'] and [@IPAddress='192.168.1.2' ]");
Basically I need to know how to select node(s) by applying filters on 2 or more attributes. It works with single attribute though.
Thanks.
h
|
|
|
|
|
|
XmlNode node = xml.SelectSinglenode(@"/Licenses/License[@HostName='SIN520APP190' and @IPAddress='192.168.1.2'] ");
try this out and c what happens
Rocky
|
|
|
|
|
Thanks Rocky..
xml.SelectSingleNode(@"/Licenses/License[@Att1='xx' and @Att2='xx'] works.
Problem was with my syntax, i was enclosing each attribute within square braces. God bless.
|
|
|
|
|
|
hi all,
i am using a datagridview and set the datasource to a datatable in my windows application. i added a datagridviewcheckboxcolumn representing status for each of my row.
I need to get the values of all rows where checkbox is selected.
i tried the following code
for (int i = 0; i < datagridview1.Rows.Count; i++)
{
DataGridViewCheckBoxCell cell = (DataGridViewCheckBoxCell)datagridview1.Rows[i].Cells[1];
if (cell.value.tostring() == "true")
{
MessageBox.Show(datagridview1.Rows[i].Cells[0].value.tostring());
}
}
if i have two rows in my datagrid, and if i checked both rows only the first row value is displayed. the second row value is not selected.the last row value is not displayed.
can anyone suggest me where i am going wrong? how to implement this?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
for (int i = 0; i < datagridview1.Rows.Count; i++)
{
if(Convert.ToBoolean(dataGridView[i/*rownum*/,ColumnIndex]) == true))
{
//do ur stuff and plz confirm whether the row index and column index are at right place
}
}
hope it helps
|
|
|
|